Parcourir la source

main: remove whitespace between if and left parenthesis

Marco Wang il y a 5 ans
Parent
révision
71f7755cb1
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      src/main.c

+ 2
- 2
src/main.c Voir le fichier

11
 int main(int argc, char **argv)
11
 int main(int argc, char **argv)
12
 {
12
 {
13
     light_context_t *light_ctx = light_initialize(argc, argv);
13
     light_context_t *light_ctx = light_initialize(argc, argv);
14
-    if (light_ctx == NULL) {
14
+    if(light_ctx == NULL) {
15
         LIGHT_ERR("Initialization failed");
15
         LIGHT_ERR("Initialization failed");
16
         return LIGHT_RETURNVAL_INITFAIL;
16
         return LIGHT_RETURNVAL_INITFAIL;
17
     }
17
     }
18
 
18
 
19
-    if (!light_execute(light_ctx)) {
19
+    if(!light_execute(light_ctx)) {
20
         LIGHT_ERR("Execution failed");
20
         LIGHT_ERR("Execution failed");
21
         light_free(light_ctx);
21
         light_free(light_ctx);
22
         return LIGHT_RETURNVAL_EXECFAIL;
22
         return LIGHT_RETURNVAL_EXECFAIL;