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
This commit is contained in:
parent
66546a794e
commit
51bb531c51
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user