git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
204e6da
)
Move decl out for C99 compliance.
author
Richard Jones
<rjones@centos5x32.home.annexia.org>
Mon, 14 Sep 2009 19:14:47 +0000
(20:14 +0100)
committer
Richard Jones
<rjones@trick.home.annexia.org>
Mon, 14 Sep 2009 19:16:52 +0000
(20:16 +0100)
fish/fish.c
patch
|
blob
|
history
diff --git
a/fish/fish.c
b/fish/fish.c
index
9316eda
..
9215f4e
100644
(file)
--- a/
fish/fish.c
+++ b/
fish/fish.c
@@
-1086,7
+1086,9
@@
is_true (const char *str)
static void
free_n_strings (char **str, size_t len)
{
- for (size_t i = 0; i < len; i++) {
+ size_t i;
+
+ for (i = 0; i < len; i++) {
free (str[i]);
}
free (str);