On 1/2/2019 8:13 AM, Honggang Li wrote: > cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -Wall -g -Werror -Wno-deprecated-declarations -fpic -I. -I../include -I/usr/include -c -o sim_cmd.o sim_cmd.c > sim_cmd.c: In function ‘do_cmd’: > sim_cmd.c:911:11: error: ‘orig’ may be used uninitialized in this function [-Werror=maybe-uninitialized] > nodeid = expand_name(orig, name, &sp); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > sim_cmd.c:897:19: note: ‘orig’ was declared here > char *s = line, *orig, *sp, *nodeid, *attr, *field, *field_trim, *end_ptr; > > Signed-off-by: Honggang Li <honli@xxxxxxxxxx> Thanks. Applied. -- Hal