summaryrefslogtreecommitdiff
path: root/plugins/CmdLine/src/hooked_events.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-02-24 14:53:26 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-02-24 14:53:26 +0000
commitf8a58bee25b77af07a938cfdf71bdc00c0446b0a (patch)
tree969a7ea5d2b60907d10b7b94a443d8b82dfaeec5 /plugins/CmdLine/src/hooked_events.cpp
parent943543342edbc6e66630810ec4486e1a579abc2f (diff)
removed some unneeded translations
git-svn-id: http://svn.miranda-ng.org/main/trunk@8257 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CmdLine/src/hooked_events.cpp')
-rw-r--r--plugins/CmdLine/src/hooked_events.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/CmdLine/src/hooked_events.cpp b/plugins/CmdLine/src/hooked_events.cpp
index 6ccac9080a..3226b659b4 100644
--- a/plugins/CmdLine/src/hooked_events.cpp
+++ b/plugins/CmdLine/src/hooked_events.cpp
@@ -66,8 +66,7 @@ int OnShutdown(WPARAM wParam, LPARAM lParam)
int QueueAck(ACKDATA *ack)
{
- int i;
- for (i = cAcks - 1; i > 0; i--)
+ for (int i = cAcks - 1; i > 0; i--)
{
acks[i] = acks[i - 1];
}
@@ -86,8 +85,7 @@ int ClearAckQueue()
ACKDATA *GetAck(HANDLE hProcess)
{
- int i;
- for (i = 0; i < cAcks; i++)
+ for (int i = 0; i < cAcks; i++)
{
if (acks[i].hProcess == hProcess)
{