dir: remove unused variable sb

It had never been used. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

René Scharfe committed May 20, 2015 at 00:13 UTC 22570b68e3cb9380403d903680be3b3112a26490
1 file changed -2
dir.c
-2
@@ -385,7 +385,6 @@ int report_path_error(const char *ps_matched,
385 /*
386 * Make sure all pathspec matched; otherwise it is an error.
387 */
388 - struct strbuf sb = STRBUF_INIT;
388 int num, errors = 0;
389 for (num = 0; num < pathspec->nr; num++) {
390 int other, found_dup;
@@ -417,7 +416,6 @@ int report_path_error(const char *ps_matched,
416 pathspec->items[num].original);
417 errors++;
418 }
420 - strbuf_release(&sb);
419 return errors;
420 }
421