summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
Diffstat (limited to 'src/login')
-rw-r--r--src/login/account_txt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/account_txt.c b/src/login/account_txt.c
index 4b4e4b950..f177a1a2e 100644
--- a/src/login/account_txt.c
+++ b/src/login/account_txt.c
@@ -127,14 +127,14 @@ static bool account_db_txt_init(AccountDB* self)
if( line[0] == '/' && line[1] == '/' )
continue;
- int n = 0;
+ n = 0;
if( sscanf(line, "%d%n", &v, &n) == 1 && (line[n] == '\n' || line[n] == '\r') )
{// format version definition
version = v;
continue;
}
- int n = 0;
+ n = 0;
if( sscanf(line, "%d\t%%newid%%%n", &account_id, &n) == 1 && (line[n] == '\n' || line[n] == '\r') )
{// auto-increment
if( account_id > db->next_account_id )