changeset 90 | 947f0dc9f7a8 |
parent 36 | 538db54a451d |
--- a/userlibandfileserver/fileserver/fs_utils/filesystem_utils.inl Tue Feb 02 01:24:03 2010 +0200 +++ b/userlibandfileserver/fileserver/fs_utils/filesystem_utils.inl Fri Apr 16 16:24:37 2010 +0300 @@ -54,7 +54,10 @@ inline TBool IsPowerOf2(TUint32 aVal) { if (aVal==0) + { + ASSERT(0); return EFalse; + } return !(aVal & (aVal-1)); } @@ -67,7 +70,10 @@ inline TBool IsPowerOf2_64(TUint64 aVal) { if (aVal==0) + { + ASSERT(0); return EFalse; + } return !(aVal & (aVal-1));