From 09a7dadbac0ce278712668228cc8ce547d14e0eb Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 20 Jun 2020 09:40:20 +0000 Subject: [PATCH] Get rid of trailing whitespace (1 / 14) Remove trailing whitespace Differential Revision: https://phab.enlightenment.org/D11999 --- src/bin/embryo/embryo_cc_sc1.c | 4 ++-- src/bin/embryo/embryo_cc_sc2.c | 12 ++++++------ src/bin/ethumb_client/ethumbd.c | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/bin/embryo/embryo_cc_sc1.c b/src/bin/embryo/embryo_cc_sc1.c index bb9486de6b..1189ce807b 100644 --- a/src/bin/embryo/embryo_cc_sc1.c +++ b/src/bin/embryo/embryo_cc_sc1.c @@ -3491,11 +3491,11 @@ static void doif(void) { int flab1, flab2; -#if 0 +#if 0 int ifindent; ifindent = stmtindent; /* save the indent of the "if" instruction */ -#endif +#endif flab1 = getlabel(); /* get label number for false branch */ test(flab1, TRUE, FALSE); /*get expression, branch to flab1 if false */ statement(NULL, FALSE); /* if true, do a statement */ diff --git a/src/bin/embryo/embryo_cc_sc2.c b/src/bin/embryo/embryo_cc_sc2.c index 2bd34b8f71..7a7f5ebd14 100644 --- a/src/bin/embryo/embryo_cc_sc2.c +++ b/src/bin/embryo/embryo_cc_sc2.c @@ -101,7 +101,7 @@ plungequalifiedfile(char *name) } /* if */ ext_idx++; } - while ((!fp) && + while ((!fp) && (ext_idx < (int)(sizeof extensions / sizeof extensions[0]))); if (!fp) { @@ -1004,8 +1004,8 @@ command(void) { int i; - for (i = 0; - (i < (int)(sizeof(name)) - 1) && + for (i = 0; + (i < (int)(sizeof(name)) - 1) && (alphanum(*lptr)); i++, lptr++) name[i] = *lptr; @@ -1041,7 +1041,7 @@ command(void) /* first gather all information, start with the tag name */ while ((*lptr <= ' ') && (*lptr != '\0')) lptr++; - for (i = 0; + for (i = 0; (i < (int)(sizeof(name)) - 1) && (alphanum(*lptr)); i++, lptr++) @@ -1105,8 +1105,8 @@ command(void) /* get the name */ while ((*lptr <= ' ') && (*lptr != '\0')) lptr++; - for (i = 0; - (i < (int)(sizeof(name)) - 1) && + for (i = 0; + (i < (int)(sizeof(name)) - 1) && (sc_isalpha(*lptr)); i++, lptr++) name[i] = *lptr; diff --git a/src/bin/ethumb_client/ethumbd.c b/src/bin/ethumb_client/ethumbd.c index 476ecd4b52..02735e34b1 100644 --- a/src/bin/ethumb_client/ethumbd.c +++ b/src/bin/ethumb_client/ethumbd.c @@ -249,7 +249,7 @@ static Eina_Bool _ethumbd_timeout_cb(void *data) { Ethumbd *ed = data; - + ecore_main_loop_quit(); ed->timeout_timer = NULL; return EINA_FALSE; @@ -282,7 +282,7 @@ static Eina_Bool _ethumbd_hang_cb(void *data) { Ethumbd *ed = data; - + ed->hang_timer = NULL; if (ed->processing) { @@ -296,7 +296,7 @@ static void _ethumbd_hang_start(Ethumbd *ed) { double tim = ed->timeout; - + if (tim < 0) tim = 10.0; else { @@ -1752,7 +1752,7 @@ main(int argc, char *argv[]) #elif _WIN32 SetPriorityClass(GetCurrentProcess(), IDLE_PRIORITY_CLASS); #endif - + memset(&ed, 0, sizeof(ed)); ecore_init(); eina_init();