diff --git a/shell/main.c b/shell/main.c index 0a5842c..db3511f 100755 --- a/shell/main.c +++ b/shell/main.c @@ -382,7 +382,7 @@ static char* _load_file(const char* path) { fseek(fp, curpos, SEEK_SET); result = (char*)malloc((size_t)(l + 1)); mb_assert(result); - (void)fread(result, 1, l, fp); + fread(result, 1, l, fp); fclose(fp); result[l] = '\0'; } @@ -415,9 +415,9 @@ static int _save_file(const char* path, const char* txt) { static void _clear_screen(void) { #ifdef _MSC_VER - (void)system("cls"); + system("cls"); #else /* _MSC_VER */ - (void)system("clear"); + system("clear"); #endif /* _MSC_VER */ }