pack-objects: Fix compilation with NO_PTHREDS

It looks like commit 99fb6e04 (pack-objects: convert to use parse_options(), 2012-02-01) moved the #ifdef NO_PTHREDS around but hasn't noticed that the 'arg' variable no longer is available. Signed-off-by: Michał Kiedrowicz <michal.kiedrowicz@gmail.com> Acked-by: Nguyen Thai Ngoc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michał Kiedrowicz committed Feb 25, 2012 at 09:16 UTC 2b34e486bc0ce1aabaa024ca97e8b005d9bc53ed
1 file changed +1 -1
builtin/pack-objects.c
+1 -1
@@ -2451,7 +2451,7 @@ int cmd_pack_objects(int argc, const char **argv, const char *prefix)
2451 die("bad pack compression level %d", pack_compression_level);
2452 #ifdef NO_PTHREADS
2453 if (delta_search_threads != 1)
2454 - warning("no threads support, ignoring %s", arg);
2454 + warning("no threads support, ignoring --threads");
2455 #endif
2456 if (!pack_to_stdout && !pack_size_limit)
2457 pack_size_limit = pack_size_limit_cfg;