]> sigrok.org Git - libsigrok.git/commit
fx2lafw: fix possible use of uninitialized variable (gcc-4.9 warning fix)
authorAurelien Jacobs <redacted>
Sat, 5 Apr 2014 15:42:33 +0000 (17:42 +0200)
committerBert Vermeulen <redacted>
Sun, 6 Apr 2014 15:32:46 +0000 (17:32 +0200)
commiteb28f1b7b2c89a9986e799adcfffe2e2fc9c72b6
tree6552523721e2f0c91c4425f728554cc1b43de1b6
parent38d32464973b828bf327b9271ef4b0437d85c9f2
fx2lafw: fix possible use of uninitialized variable (gcc-4.9 warning fix)

hardware/fx2lafw/protocol.c: In function 'fx2lafw_command_start_acquisition':
hardware/fx2lafw/protocol.c:113:7: warning: 'cmd.flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
   (cmd.flags & CMD_START_FLAGS_CLK_48MHZ) ? "48" : "30");
       ^
hardware/fx2lafw/protocol.c