summaryrefslogtreecommitdiff
path: root/src/bin/exactness/recorder.c
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-02-26 10:38:54 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2020-02-26 15:15:48 +0100
commit983d03d012a93811672daa6392e48da9f24b5c53 (patch)
tree0d9d54086924b4476881e3ef955a501e948f8058 /src/bin/exactness/recorder.c
parentde389fbe5e5f4f46808dabd92ca291e1a41077cd (diff)
exactness: check return code from ecore_evas_init
Check if we can initialize correctly and return failure if not. CID: 1419872, 1419864, 1419867, 1419850 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11420
Diffstat (limited to '')
-rw-r--r--src/bin/exactness/recorder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/exactness/recorder.c b/src/bin/exactness/recorder.c
index c3f1ced58b..7ca7a4c976 100644
--- a/src/bin/exactness/recorder.c
+++ b/src/bin/exactness/recorder.c
@@ -394,7 +394,8 @@ int main(int argc, char **argv)
394 ECORE_GETOPT_VALUE_NONE 394 ECORE_GETOPT_VALUE_NONE
395 }; 395 };
396 396
397 ecore_evas_init(); 397 if (!ecore_evas_init())
398 return EXIT_FAILURE;
398 399
399 opt_args = ecore_getopt_parse(&optdesc, values, argc, argv); 400 opt_args = ecore_getopt_parse(&optdesc, values, argc, argv);
400 if (opt_args < 0) 401 if (opt_args < 0)