Be careful that f isn't uninitialized

This commit is contained in:
Joris Vink 2014-08-03 17:50:04 +02:00
parent 55b344f1c3
commit e906aab445

View File

@ -848,6 +848,8 @@ cli_link_library(void *arg)
if ((p = getenv("KORE_LDFLAGS")) != NULL)
f = kore_split_string(p, " ", flags, LD_FLAGS_MAX);
else
f = 0;
(void)cli_vasprintf(&libname, "%s/%s.so", rootdir, appl);