Get rid of trailing whitespace (1 / 14)

Remove trailing whitespace
Differential Revision: https://phab.enlightenment.org/D11999
This commit is contained in:
Elyes HAOUAS 2020-06-20 09:40:20 +00:00 committed by Stefan Schmidt
parent 4f15bde706
commit 09a7dadbac
3 changed files with 12 additions and 12 deletions

View File

@ -3491,11 +3491,11 @@ static void
doif(void) doif(void)
{ {
int flab1, flab2; int flab1, flab2;
#if 0 #if 0
int ifindent; int ifindent;
ifindent = stmtindent; /* save the indent of the "if" instruction */ ifindent = stmtindent; /* save the indent of the "if" instruction */
#endif #endif
flab1 = getlabel(); /* get label number for false branch */ flab1 = getlabel(); /* get label number for false branch */
test(flab1, TRUE, FALSE); /*get expression, branch to flab1 if false */ test(flab1, TRUE, FALSE); /*get expression, branch to flab1 if false */
statement(NULL, FALSE); /* if true, do a statement */ statement(NULL, FALSE); /* if true, do a statement */

View File

@ -101,7 +101,7 @@ plungequalifiedfile(char *name)
} /* if */ } /* if */
ext_idx++; ext_idx++;
} }
while ((!fp) && while ((!fp) &&
(ext_idx < (int)(sizeof extensions / sizeof extensions[0]))); (ext_idx < (int)(sizeof extensions / sizeof extensions[0])));
if (!fp) if (!fp)
{ {
@ -1004,8 +1004,8 @@ command(void)
{ {
int i; int i;
for (i = 0; for (i = 0;
(i < (int)(sizeof(name)) - 1) && (i < (int)(sizeof(name)) - 1) &&
(alphanum(*lptr)); (alphanum(*lptr));
i++, lptr++) i++, lptr++)
name[i] = *lptr; name[i] = *lptr;
@ -1041,7 +1041,7 @@ command(void)
/* first gather all information, start with the tag name */ /* first gather all information, start with the tag name */
while ((*lptr <= ' ') && (*lptr != '\0')) while ((*lptr <= ' ') && (*lptr != '\0'))
lptr++; lptr++;
for (i = 0; for (i = 0;
(i < (int)(sizeof(name)) - 1) && (i < (int)(sizeof(name)) - 1) &&
(alphanum(*lptr)); (alphanum(*lptr));
i++, lptr++) i++, lptr++)
@ -1105,8 +1105,8 @@ command(void)
/* get the name */ /* get the name */
while ((*lptr <= ' ') && (*lptr != '\0')) while ((*lptr <= ' ') && (*lptr != '\0'))
lptr++; lptr++;
for (i = 0; for (i = 0;
(i < (int)(sizeof(name)) - 1) && (i < (int)(sizeof(name)) - 1) &&
(sc_isalpha(*lptr)); (sc_isalpha(*lptr));
i++, lptr++) i++, lptr++)
name[i] = *lptr; name[i] = *lptr;

View File

@ -249,7 +249,7 @@ static Eina_Bool
_ethumbd_timeout_cb(void *data) _ethumbd_timeout_cb(void *data)
{ {
Ethumbd *ed = data; Ethumbd *ed = data;
ecore_main_loop_quit(); ecore_main_loop_quit();
ed->timeout_timer = NULL; ed->timeout_timer = NULL;
return EINA_FALSE; return EINA_FALSE;
@ -282,7 +282,7 @@ static Eina_Bool
_ethumbd_hang_cb(void *data) _ethumbd_hang_cb(void *data)
{ {
Ethumbd *ed = data; Ethumbd *ed = data;
ed->hang_timer = NULL; ed->hang_timer = NULL;
if (ed->processing) if (ed->processing)
{ {
@ -296,7 +296,7 @@ static void
_ethumbd_hang_start(Ethumbd *ed) _ethumbd_hang_start(Ethumbd *ed)
{ {
double tim = ed->timeout; double tim = ed->timeout;
if (tim < 0) tim = 10.0; if (tim < 0) tim = 10.0;
else else
{ {
@ -1752,7 +1752,7 @@ main(int argc, char *argv[])
#elif _WIN32 #elif _WIN32
SetPriorityClass(GetCurrentProcess(), IDLE_PRIORITY_CLASS); SetPriorityClass(GetCurrentProcess(), IDLE_PRIORITY_CLASS);
#endif #endif
memset(&ed, 0, sizeof(ed)); memset(&ed, 0, sizeof(ed));
ecore_init(); ecore_init();
eina_init(); eina_init();