Indentation was missing after empty string check was added by wanjochan.
This commit is contained in:
parent
bea7dcde86
commit
6d819d7267
2 changed files with 4 additions and 4 deletions
4
tccelf.c
4
tccelf.c
|
@ -1457,8 +1457,8 @@ ST_FUNC void tcc_add_runtime(TCCState *s1)
|
||||||
tcc_add_btstub(s1);
|
tcc_add_btstub(s1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if ( strlen ( TCC_LIBTCC1 ) > 0 )
|
if (strlen(TCC_LIBTCC1) > 0)
|
||||||
tcc_add_support(s1, TCC_LIBTCC1);
|
tcc_add_support(s1, TCC_LIBTCC1);
|
||||||
#ifndef TCC_TARGET_MACHO
|
#ifndef TCC_TARGET_MACHO
|
||||||
/* add crt end if not memory output */
|
/* add crt end if not memory output */
|
||||||
if (s1->output_type != TCC_OUTPUT_MEMORY)
|
if (s1->output_type != TCC_OUTPUT_MEMORY)
|
||||||
|
|
4
tccpe.c
4
tccpe.c
|
@ -1923,8 +1923,8 @@ static void pe_add_runtime(TCCState *s1, struct pe_info *pe)
|
||||||
"msvcrt", "kernel32", "", "user32", "gdi32", NULL
|
"msvcrt", "kernel32", "", "user32", "gdi32", NULL
|
||||||
};
|
};
|
||||||
const char **pp, *p;
|
const char **pp, *p;
|
||||||
if ( strlen ( TCC_LIBTCC1 ) > 0 )
|
if (strlen(TCC_LIBTCC1) > 0)
|
||||||
tcc_add_support(s1, TCC_LIBTCC1);
|
tcc_add_support(s1, TCC_LIBTCC1);
|
||||||
for (pp = libs; 0 != (p = *pp); ++pp) {
|
for (pp = libs; 0 != (p = *pp); ++pp) {
|
||||||
if (*p)
|
if (*p)
|
||||||
tcc_add_library_err(s1, p);
|
tcc_add_library_err(s1, p);
|
||||||
|
|
Loading…
Reference in a new issue