diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-03 16:56:19 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-03 16:56:19 +0000 |
commit | e96f584e07616223a44d45295f866367bd38ce0a (patch) | |
tree | 71e574e470be692c26f94ccbc7c3ec723847f5a1 /src/common/core.c | |
parent | 2a1f2cb2842f87c982e01153255a67abb1abf29a (diff) | |
download | hercules-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/common/core.c')
-rw-r--r-- | src/common/core.c | 4 |
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)); |