dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [BUG] multipath-tools: multipathd/main.c: cannot jump from this goto statement to its label
@ 2016-06-29 13:36 Xose Vazquez Perez
  2016-06-29 14:06 ` multipath-tools: clang warnings(30) Xose Vazquez Perez
  2016-07-06 19:54 ` [BUG] multipath-tools: multipathd/main.c: cannot jump from this goto statement to its label Xose Vazquez Perez
  0 siblings, 2 replies; 4+ messages in thread
From: Xose Vazquez Perez @ 2016-06-29 13:36 UTC (permalink / raw)
  To: device-mapper development

spotted by clang-3.8.0:

make[1]: Entering directory '/home/xose/tmp/arrays/multipath-tools.x1/multipathd'
clang -O2 -g -pipe -Wformat-security -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmultipath
-I../libmpathpersist -I../libmpathcmd -DUSE_SYSTEMD=229 -c -o main.o main.c
main.c:586:3: error: cannot jump from this goto statement to its label
  goto out_unlock;
  ^
main.c:631:38: note: jump bypasses initialization of variable with __attribute__((cleanup))
 do { struct __pthread_cleanup_frame __clframe __attribute__ ((__cleanup__ (__pthread_cleanup_routine))) = { .__cancel_routine = (cleanup_lock), .__cancel_arg = (&vecs->lock), .__do_it = 1 };;
                                     ^
1 error generated.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-07  5:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-29 13:36 [BUG] multipath-tools: multipathd/main.c: cannot jump from this goto statement to its label Xose Vazquez Perez
2016-06-29 14:06 ` multipath-tools: clang warnings(30) Xose Vazquez Perez
2016-07-06 19:54 ` [BUG] multipath-tools: multipathd/main.c: cannot jump from this goto statement to its label Xose Vazquez Perez
2016-07-07  5:43   ` Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).