Commit b57330cf authored by Max Kellermann's avatar Max Kellermann

playlist_state: declare local variable as enum

parent 8cd91fab
......@@ -129,7 +129,7 @@ playlist_state_restore(const char *line, FILE *fp, GString *buffer,
{
int current = -1;
int seek_time = 0;
int state = PLAYER_STATE_STOP;
enum player_state state = PLAYER_STATE_STOP;
bool random_mode = false;
if (!g_str_has_prefix(line, PLAYLIST_STATE_FILE_STATE))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment