cc -Os -g -Wall -fno-strict-aliasing -DLOCAL_ROOT=\"/usr/share/polipo/www/\" -DDISK_CACHE_ROOT=\"/var/cache/polipo/\" -c -o dns.o dns.c dns.c: In function ‘labelsToString’: dns.c:1405:24: warning: ‘k’ is used uninitialized in this function [-Wuninitialized] int i = offset, j, k; ^ --- dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dns.c b/dns.c index aa7de9a..eb2c80e 100644 --- a/dns.c +++ b/dns.c @@ -1402,7 +1402,7 @@ stringToLabels(char *buf, int offset, int n, char *string) static int labelsToString(char *buf, int offset, int n, char *d, int m, int *j_return) { - int i = offset, j, k; + int i = offset, j, k = 0; int ll, rc; j = 0; -- 2.1.0 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Polipo-users mailing list Polipo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/polipo-users