Issue information

Issue ID
#2300
Status
Duplicate
Severity
None
Started
Hercules Elf Bot
Oct 1, 2008 7:06
Last Post
Hercules Elf Bot
Oct 1, 2008 7:06
Confirmation
N/A

Hercules Elf Bot - Oct 1, 2008 7:06

Originally posted by [b]Yonimelavo[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2300

Bleh, a warning. But I report it anyway:

CODE
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-
switch -DMAPREGSQL  -I/usr/local/include/mysql  -I../common -I/usr/include -DFD_
SETSIZE=4096 -DCYGWIN -c -o obj_sql/storage.o storage.c
storage.c:47: warning: 'storage_sortitem' defined but not used

It's this:

CODE
static void storage_sortitem(struct storage_data* stor)
{
    nullpo_retv(stor);
    qsort(stor->items, MAX_STORAGE, sizeof(struct item), storage_comp_item);
}

Can I remove/comment it? Or will it be used in the future in any feature?