Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pathspec: only match across submodule boundaries when requested
[gitweb.git]
/
sh-i18n--envsubst.c
diff --git
a/sh-i18n--envsubst.c
b/sh-i18n--envsubst.c
index 3637a2a64b28789c31d1be41e150d658a9d47e6e..c3a2b5ad17c74613811a0ce850586fa1b9e099bd 100644
(file)
--- a/
sh-i18n--envsubst.c
+++ b/
sh-i18n--envsubst.c
@@
-230,8
+230,7
@@
cmp_string (const void *pstr1, const void *pstr2)
static inline void
string_list_sort (string_list_ty *slp)
{
- if (slp->nitems > 0)
- QSORT(slp->item, slp->nitems, cmp_string);
+ QSORT(slp->item, slp->nitems, cmp_string);
}
/* Test whether a sorted string list contains a given string. */