userlibandfileserver/fileserver/fs_utils/filesystem_utils.inl
branchRCL_3
changeset 22 2f92ad2dc5db
parent 8 538db54a451d
--- a/userlibandfileserver/fileserver/fs_utils/filesystem_utils.inl	Mon Mar 15 12:45:50 2010 +0200
+++ b/userlibandfileserver/fileserver/fs_utils/filesystem_utils.inl	Wed Mar 31 23:38:45 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));