Browse Source

fixed a compiler warning restricted to ubuntu's gcc only

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15358 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 years ago
parent
commit
51bb531c51
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/common/core.c

+ 2 - 2
src/common/core.c

@@ -150,8 +150,8 @@ const char* get_svn_revision(void)
 			else
 			{
 				// Bin File format
-				fgets(line, sizeof(line), fp); // Get the name
-				fgets(line, sizeof(line), fp); // Get the entries kind
+				(void)fgets(line, sizeof(line), fp); // Get the name
+				(void)fgets(line, sizeof(line), fp); // Get the entries kind
 				if(fgets(line, sizeof(line), fp)) // Get the rev numver
 				{
 					snprintf(rA_svn_version, sizeof(rA_svn_version), "%d", atoi(line));