aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-06-04 11:07:52 -0400
committerNick Mathewson <nickm@torproject.org>2012-06-04 11:11:04 -0400
commit75b72bf62122c74f4c0c193e9364928aecdba695 (patch)
treef0f1c1f7e3f07a0d50250a762b8db50664cec7b4 /src/common/tortls.c
parentf4db3e263175f3846bdf24de2f1e4788bc764764 (diff)
downloadtor-75b72bf62122c74f4c0c193e9364928aecdba695.tar
tor-75b72bf62122c74f4c0c193e9364928aecdba695.tar.gz
Fix build warning on Lenny about strtok_r unit test
This fixes a warning in efb8a09f, where Debain Lenny's GCC doesn't get that for (i=0; i<3; ++i) { const char *p; switch(i) { case 0: p="X"; break; case 1: p="Y"; break; case 2: p="Z"; break; } printf("%s\n", p); } will never try to print an uninitialezed value. Found by buildbots. Bug in no released versions of Tor.
Diffstat (limited to 'src/common/tortls.c')
0 files changed, 0 insertions, 0 deletions