瀏覽代碼

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 年之前
父節點
當前提交
51bb531c51
共有 1 個文件被更改,包括 2 次插入2 次删除
  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));