Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afm-launch: fix warnings
[src/app-framework-main.git]
/
src
/
afm-launch.c
diff --git
a/src/afm-launch.c
b/src/afm-launch.c
index
46bc4e0
..
cd820c5
100644
(file)
--- a/
src/afm-launch.c
+++ b/
src/afm-launch.c
@@
-403,6
+403,8
@@
static union arguments instantiate_arguments(
mini[2] = 0;
/* loop that either compute the size and build the result */
mini[2] = 0;
/* loop that either compute the size and build the result */
+ result.vector = NULL;
+ result.scalar = NULL;
data = NULL;
n = s = 0;
for (;;) {
data = NULL;
n = s = 0;
for (;;) {
@@
-735,7
+737,7
@@
static int launch_remote(
/* instanciate the uri */
if (params->slave == NULL)
/* instanciate the uri */
if (params->slave == NULL)
- uri =
strdup("")
;
+ uri =
NULL
;
else
uri = instantiate_arguments(params->slave, desc, params, 0).scalar;
if (uri == NULL) {
else
uri = instantiate_arguments(params->slave, desc, params, 0).scalar;
if (uri == NULL) {