tcc_add_support(): void return for win

This commit is contained in:
wanjochan 2020-09-17 00:53:50 +08:00
parent 43ae350390
commit 89935229a7

View File

@ -1855,7 +1855,7 @@ ST_FUNC void pe_add_unwind_data(unsigned start, unsigned end, unsigned stack)
static void tcc_add_support(TCCState *s1, const char *filename)
{
if(!filename || strlen(filename)==0) return 0;
if(!filename || strlen(filename)==0) return;
if (tcc_add_dll(s1, filename, 0) < 0)
tcc_error_noabort("%s not found", filename);
}