diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-19 10:01:50 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-09 17:35:30 -0800 |
commit | 9f350d75a4553d8e2bc365f8de4110bb79ec7b32 (patch) | |
tree | 5c23e3bd0e2bab0080aaccae7e716619e913d8eb /src/sm_manager.c | |
parent | 079de6fd4bd0423e20e472d7342f919eebce0517 (diff) |
Move and rename temp[4] definition to reduce confusion with temp[256]
Both variables were locals in different scope levels of the same
function, leading to both confusing code and gcc -Wshadow warnings:
sm_genid.c: In function 'SmsGenerateClientID':
sm_genid.c:160:10: warning: declaration of 'temp' shadows a previous local
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'src/sm_manager.c')
0 files changed, 0 insertions, 0 deletions