summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-03 16:56:19 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-03 16:56:19 +0000
commite96f584e07616223a44d45295f866367bd38ce0a (patch)
tree71e574e470be692c26f94ccbc7c3ec723847f5a1 /src
parent2a1f2cb2842f87c982e01153255a67abb1abf29a (diff)
downloadhercules-e96f584e07616223a44d45295f866367bd38ce0a.tar.gz
hercules-e96f584e07616223a44d45295f866367bd38ce0a.tar.bz2
hercules-e96f584e07616223a44d45295f866367bd38ce0a.tar.xz
hercules-e96f584e07616223a44d45295f866367bd38ce0a.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/common/core.c4
1 files changed, 2 insertions, 2 deletions
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));