Skip to content

Commit 569eaff

Browse files
committed
libpcp_web: resolve trivial uninitd var compiler warning
1 parent 5f8ca5a commit 569eaff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libpcp_web/src/webgroup.c

+1
Original file line numberDiff line numberDiff line change
@@ -2235,6 +2235,7 @@ pmWebGroupStore(pmWebGroupSettings *settings, sds id, dict *params, void *arg)
22352235
} else {
22362236
infofmt(msg, "bad parameters passed");
22372237
sts = -EINVAL;
2238+
mp = NULL;
22382239
}
22392240

22402241
if ((sts >= 0) &&

0 commit comments

Comments
 (0)