diff options
author | midipix <writeonce@midipix.org> | 2016-04-24 18:40:50 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-24 18:42:37 -0400 |
commit | bd9cc9fe11ad37b0364b12ccf4051d2616af39b4 (patch) | |
tree | cdb3d63220a2f0a55f01ab8fefc4e8eadeb5769b | |
parent | 1f5b18a8949ecfc942dac4c71f2358b955bde2fe (diff) | |
download | slibtool-bd9cc9fe11ad37b0364b12ccf4051d2616af39b4.tar.bz2 slibtool-bd9cc9fe11ad37b0364b12ccf4051d2616af39b4.tar.xz |
link mode: initialize variables of type struct slbt_deps_meta pedantically.
-rw-r--r-- | src/logic/slbt_exec_link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 0386941..d614f06 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -596,7 +596,7 @@ static int slbt_exec_link_create_library( char output [PATH_MAX]; char soname [PATH_MAX]; char symfile[PATH_MAX]; - struct slbt_deps_meta depsmeta = {0}; + struct slbt_deps_meta depsmeta = {0,0,0,0}; /* initial state */ slbt_reset_arguments(ectx); @@ -724,7 +724,7 @@ static int slbt_exec_link_create_executable( char wraplnk[PATH_MAX]; bool fabspath; bool fpic; - struct slbt_deps_meta depsmeta = {0}; + struct slbt_deps_meta depsmeta = {0,0,0,0}; /* initial state */ slbt_reset_arguments(ectx); |