chiark / gitweb /
Fix a few of the things the Clang static analyzer detects:
[disorder] / lib / client.c
index 67f8a530f156d6ac0da7d821f48551b164c97c45..00727ef010e78f62e3e6adbc0f771b2da9ba1f17 100644 (file)
@@ -507,7 +507,7 @@ int disorder_close(disorder_client *c) {
   }
   c->ident = 0;
   c->user = 0;
-  return 0;
+  return ret;
 }
 
 /** @brief Play a track