summaryrefslogtreecommitdiff
path: root/src/sm_manager.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-19 10:01:50 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-09 17:35:30 -0800
commit9f350d75a4553d8e2bc365f8de4110bb79ec7b32 (patch)
tree5c23e3bd0e2bab0080aaccae7e716619e913d8eb /src/sm_manager.c
parent079de6fd4bd0423e20e472d7342f919eebce0517 (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