Date: Sat, 27 Aug 2016 18:41:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211603] [NEW PORT] devel/kore: Web application framework for writing web APIs in C Message-ID: <bug-211603-13-myXbthHHjS@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-211603-13@https.bugs.freebsd.org/bugzilla/> References: <bug-211603-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211603 Kurt Jaeger <pi@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pi@FreeBSD.org --- Comment #2 from Kurt Jaeger <pi@FreeBSD.org> --- Fails to build on 10.3-i386 with=20 cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iincludes -std=3Dc99 -pedantic -DPREFIX=3D'"/usr/local"' -I/usr/local/include -DKORE_USE_PGSQL -DPGSQL_INCLUDE_PATH=3D"\"/usr/local/include\"" -DKORE_USE_TASKS -DKORE_USE_JSONRPC -I/usr/local/include -c src/tasks.c -o obj/tasks.o src/pgsql.c:222:6: error: variable 'args' is used uninitialized whenever 'i= f' condition is false [-Werror,-Wsometimes-uninitialized] if (count > 0) ^~~~~~~~~ src/pgsql.c:225:63: note: uninitialized use occurs here ret =3D kore_pgsql_v_query_params(pgsql, query, result, count, args= ); ^~~~ src/pgsql.c:222:2: note: remove the 'if' if its condition is always true if (count > 0) ^~~~~~~~~~~~~~ src/pgsql.c:220:15: note: initialize the variable 'args' to silence this warning va_list args; ^ =3D NULL 1 error generated. gmake[1]: *** [Makefile:106: obj/pgsql.o] Error 1 for the full build see http://people.freebsd.org/~pi/logs/devel__kore-10i-1472321629.txt It's interesting this does not happen on amd64 ? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211603-13-myXbthHHjS>