From e96f584e07616223a44d45295f866367bd38ce0a Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 3 Jan 2012 16:56:19 +0000 Subject: fixed a compiler warning restricted to ubuntu's gcc only git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15358 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/core.c') diff --git a/src/common/core.c b/src/common/core.c index 4504370cf..bb7bd5cdc 100644 --- a/src/common/core.c +++ b/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)); -- cgit v1.2.3-60-g2f50