summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/statusicon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/statusicon.cpp')
-rw-r--r--plugins/Scriver/src/statusicon.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Scriver/src/statusicon.cpp b/plugins/Scriver/src/statusicon.cpp
index b530c3ebe3..a51cdd22d5 100644
--- a/plugins/Scriver/src/statusicon.cpp
+++ b/plugins/Scriver/src/statusicon.cpp
@@ -91,9 +91,8 @@ int DeinitStatusIcons()
int GetStatusIconsCount(HANDLE hContact)
{
- StatusIconData *si;
int nIcon = 0;
- while ((si = (StatusIconData*)CallService(MS_MSG_GETNTHICON, (WPARAM)hContact, nIcon)) != NULL)
+ while ( CallService(MS_MSG_GETNTHICON, (WPARAM)hContact, nIcon) != NULL)
nIcon++;
return nIcon;
}