Sfoglia il codice sorgente

main: remove whitespace between if and left parenthesis

Marco Wang 4 anni fa
parent
commit
71f7755cb1
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      src/main.c

+ 2
- 2
src/main.c Vedi File

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;