These values shouldn't be declared static

This commit is contained in:
Chris Young 2012-12-15 13:43:05 +00:00
parent 08cb5a09b2
commit ea5096fb8d
2 changed files with 4 additions and 4 deletions

View File

@ -2506,8 +2506,8 @@ int ami_gui_hotlist_scan(struct tree *tree, struct List *speed_button_list, stru
struct node *root = tree_node_get_child(tree_get_root(tree));
struct node *node;
struct node_element *element;
static WORD gen = 0;
static int item = 0;
WORD gen = 0;
int item = 0;
for (node = root; node; node = tree_node_get_next(node))
{

View File

@ -497,8 +497,8 @@ ULONG ami_menu_scan(struct tree *tree, bool count, struct gui_window_2 *gwin)
struct node *root = tree_node_get_child(tree_get_root(tree));
struct node *node;
struct node_element *element;
static WORD gen = 0;
static ULONG item;
WORD gen = 0;
ULONG item;
item = AMI_MENU_HOTLIST;