Bug 5146 - Remove last of warnings under gcc 4.6.1 for Linux, patch by q3urt.undead@gmail.com

This commit is contained in:
Thilo Schulz committed 2011-08-05 13:33:15 +00:00
1 parent c1b3b6f0be
commit 52aed503b5
7 files changed
+22 -30

No files matched your search

+1 -2
View File
@@ -261,8 +261,7 @@ static void LoadSourceFile( const char *filename ) {
length = filelength( f );
sourceFile = malloc( length + 1 );
if ( sourceFile ) {
size_t size;
size = fread( sourceFile, length, 1, f );
fread( sourceFile, length, 1, f );
sourceFile[length] = 0;
}