Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git_exec_path: avoid Coverity warning about unfree()d result
[gitweb.git]
/
server-info.c
diff --git
a/server-info.c
b/server-info.c
index 75dd6774136258c677fe4f4bbe2124c83b4cea68..7bc4e75d22ce099ca68aa1fac50c9123546ec5b7 100644
(file)
--- a/
server-info.c
+++ b/
server-info.c
@@
-229,7
+229,7
@@
static void init_pack_info(const char *infofile, int force)
}
/* renumber them */
-
qsort(info, num_pack, sizeof(info[0])
, compare_info);
+
QSORT(info, num_pack
, compare_info);
for (i = 0; i < num_pack; i++)
info[i]->new_num = i;
}