fix function return

This commit is contained in:
Krishna Vedala 2020-06-23 11:45:16 -04:00
parent 2fe7e4add0
commit 497ede21e0
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7

View File

@ -74,6 +74,10 @@ bool deleteString(trie* root, std::string str, int index) {
return true;
}
}
/* should not return here */
std::cout << __func__ << ":" << __LINE__ << "Should not reach this line\n";
return false;
}
int main() {