diff options
author | Emre Ucan <eucan@de.adit-jv.com> | 2018-02-16 16:44:03 +0100 |
---|---|---|
committer | Emre Ucan <eucan@de.adit-jv.com> | 2018-02-23 15:00:56 +0100 |
commit | 4e3bbd8480896043ef963e499286280ee4675115 (patch) | |
tree | 43c2ccbe79705ad85eaa106f6a84bc311258efb7 /ivi-input-modules/ivi-input-controller/src | |
parent | 86d642f6d6425ad0f4286c0123790762dad5d9a4 (diff) | |
download | wayland-ivi-extension-4e3bbd8480896043ef963e499286280ee4675115.tar.gz |
ivi-input-controller: fix -Wmaybe-uninitialized
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Diffstat (limited to 'ivi-input-modules/ivi-input-controller/src')
-rw-r--r-- | ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c b/ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c index bdfa5fe..7c5f13d 100644 --- a/ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c +++ b/ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c @@ -1364,7 +1364,7 @@ input_controller_init(struct ivishell *shell) int successful_init_stage = 0; int init_stage; int ret = -1; - struct input_context *ctx; + struct input_context *ctx = NULL; bool init_success = false; for (init_stage = 0; (init_stage == successful_init_stage); |