X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/5cf1215c65abb9c57171030d95c1ae26b65a0280..1bef7e7d601a8c5f1d23602bb3f85c4868fd9bf0:/AaptAssets.cpp diff --git a/AaptAssets.cpp b/AaptAssets.cpp index e4f447e..2b2ec7b 100644 --- a/AaptAssets.cpp +++ b/AaptAssets.cpp @@ -685,13 +685,11 @@ bool AaptGroupEntry::getMncName(const char* name, if (*c != 0) return false; if (c-val == 0 || c-val > 3) return false; - int d = atoi(val); - if (d != 0) { - if (out) out->mnc = d; - return true; + if (out) { + out->mnc = atoi(val); } - return false; + return true; } /*