kernel/eka/drivers/hcr/hcr_pil.cpp
changeset 271 dc268b18d709
parent 39 5d2844f35677
child 291 206a6eaaeb71
--- a/kernel/eka/drivers/hcr/hcr_pil.cpp	Mon Sep 13 15:16:07 2010 +0100
+++ b/kernel/eka/drivers/hcr/hcr_pil.cpp	Wed Sep 22 10:53:45 2010 +0100
@@ -524,6 +524,7 @@
     if(aNum == 1)
         {
         TSettingRef sref(0,0);
+		TSettingType types[1];
         TSettingType* pTypes;
                 
         //aTypes array is optional and user may not provided it for us. So we
@@ -532,7 +533,6 @@
             {
             //If this is a null pointer then just create our own element and 
             //assign it to the pTypes pointer
-            TSettingType types[1];
             pTypes = types;
             }
         else