Declare variables before code.

This commit is contained in:
Roger A. Light
2014-10-24 21:57:33 +01:00
parent a1f18323d1
commit c92e2f5581
+1 -1
View File
@@ -212,8 +212,8 @@ void mosquitto__add_context_to_disused(struct mosquitto_db *db, struct mosquitto
void mosquitto__free_disused_contexts(struct mosquitto_db *db)
{
assert(db);
struct mosquitto *context, *next;
assert(db);
context = db->ll_for_free;
while(context){