URIBeaconConfig::encodeURI: remove check for suffixlen == 0; un-necessary.
This commit is contained in:
parent
9342504e0e
commit
6f0d2168e6
1 changed files with 0 additions and 4 deletions
|
@ -428,10 +428,6 @@ class URIBeaconConfigService {
|
|||
unsigned i;
|
||||
for (i = 0; i < NUM_SUFFIXES; i++) {
|
||||
size_t suffixLen = strlen(suffixes[i]);
|
||||
if (suffixLen == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strncmp(uriDataIn, suffixes[i], suffixLen) == 0) {
|
||||
uriDataOut[sizeofURIDataOut++] = i;
|
||||
uriDataIn += suffixLen;
|
||||
|
|
Loading…
Reference in a new issue