Compiling param/loadparm.c
cc-1552 cc: WARNING File = param/loadparm.c, Line = 2687
The variable "username" is set but never used.
char *username;
^
On line 2703:
standard_sub_basic(current_user_info.smb_name, n2,sizeof(n2));
this seems really similar to the use on line 3899:
standard_sub_basic( username, n2,sizeof(n2) );
possibly, line 2703 should also use 'username'.