Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Wells committed Nov 25, 2013
1 parent 5da41cd commit 9a456de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Address.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11792,7 +11792,9 @@ char getTimeZone2 ( char *city , char *state , char *useDST ) {
// get city hash
long long h = getWordXorHash(city);
// TODO: make state into two letter abbr?
if ( gbstrlen(state) != 2 ) { char *xx=NULL;*xx=0; }
// crap, if state is taken from class ZipDesc it is only
// 2 letters and has no \0 in it
//if ( gbstrlen(state) != 2 ) { char *xx=NULL;*xx=0; }
// use this now
uint32_t cid32 = (uint64_t)getCityId32(h,state);
// and call this
Expand Down

0 comments on commit 9a456de

Please sign in to comment.