fixed usage of an uninitialized variable in WHOHandler.c
[NeonServV5.git] / src / HandleInfoHandler.c
index 3bed0433d3e88fde8440a2637a76ab58a2e02eba..c03abcee713ca6f499ea357478a28684172b4c25 100644 (file)
@@ -63,7 +63,7 @@ static struct HandleInfoQueueEntry* getNextHandleInfoQueueEntry(struct ClientSoc
         if(entry == first_entry)
             first_entry = entry->next;
         if(entry == last_entry) {
-            struct HandleInfoQueueEntry *last;
+            struct HandleInfoQueueEntry *last = NULL;
             for(last = first_entry; last; last = last->next)
                 if(last->next == NULL) break;
             last_entry = last;