Skip to content

Commit

Permalink
virtual: CMD_GotoDesk: silence compiler warning
Browse files Browse the repository at this point in the history
Even though "m" will be set, still explicitly set it to NULL upon
initialisation, so that GCC is kept happy.
  • Loading branch information
ThomasAdam committed Mar 29, 2024
1 parent 4dab240 commit b4d1323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fvwm/virtual.c
Original file line number Diff line number Diff line change
Expand Up @@ -2548,7 +2548,7 @@ void CMD_DesktopSize(F_CMD_ARGS)
*/
void CMD_GotoDesk(F_CMD_ARGS)
{
struct monitor *m, *m_loop;
struct monitor *m = NULL, *m_loop;
char *token;
int new_desk;

Expand Down

0 comments on commit b4d1323

Please sign in to comment.