diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-31 02:03:11 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-31 02:03:11 +0000 |
commit | e9c635731536298338c259494a772fa2e76bbb43 (patch) | |
tree | f0c53a51158dd70676366adacc6f988d0f6d2cd6 /src/map/atcommand.c | |
parent | f18a667f920daad8874232929c3f7b4680f33276 (diff) | |
download | hercules-e9c635731536298338c259494a772fa2e76bbb43.tar.gz hercules-e9c635731536298338c259494a772fa2e76bbb43.tar.bz2 hercules-e9c635731536298338c259494a772fa2e76bbb43.tar.xz hercules-e9c635731536298338c259494a772fa2e76bbb43.zip |
- Fixed warnings from r16722.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16723 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index f94415607..73fa670fb 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1389,7 +1389,7 @@ ACMD_FUNC(heal) ACMD_FUNC(item) { char item_name[100]; - int number = 0, item_id, flag; + int number = 0, item_id, flag = 0; struct item item_tmp; struct item_data *item_data; int get_count, i; @@ -1449,7 +1449,7 @@ ACMD_FUNC(item2) int item_id, number = 0; int identify = 0, refine = 0, attr = 0; int c1 = 0, c2 = 0, c3 = 0, c4 = 0; - int flag; + int flag = 0; int loop, get_count, i; nullpo_retr(-1, sd); |