Skip to content
Snippets Groups Projects
Commit 13946cd6 authored by rswindell's avatar rswindell
Browse files

Address code error caught by GCC warning:

uedit.c:1475:5: warning: this 'if' clause does not guard...
     if(uifc.changes)
parent db43e795
No related branches found
No related tags found
No related merge requests found
......@@ -1472,9 +1472,10 @@ int edit_personal(scfg_t *cfg, user_t *user)
/* Alias */
getuserdat(cfg,user);
uifc.input(WIN_MID|WIN_ACT|WIN_SAV,0,0,"Alias",user->alias,LEN_ALIAS,K_EDIT);
if(uifc.changes)
if(uifc.changes) {
putuserrec(cfg,user->number,U_ALIAS,LEN_ALIAS,user->alias);
putusername(cfg,user->number,user->alias);
}
break;
case 2:
/* Handle */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment