Always ensure the pack.keep file is removed by git-fetch
[gitweb.git] / builtin-pack-objects.c
index b126fc8e727f8f9670ba85d9a5bf498f1baf5dfc..a15906bdb2021e68a014344cad4e73e9de3367ca 100644 (file)
@@ -1311,12 +1311,12 @@ static pthread_mutex_t progress_mutex = PTHREAD_MUTEX_INITIALIZER;
 
 #else
 
-#define read_lock()            0
-#define read_unlock()          0
-#define cache_lock()           0
-#define cache_unlock()         0
-#define progress_lock()                0
-#define progress_unlock()      0
+#define read_lock()            (void)0
+#define read_unlock()          (void)0
+#define cache_lock()           (void)0
+#define cache_unlock()         (void)0
+#define progress_lock()                (void)0
+#define progress_unlock()      (void)0
 
 #endif