Fix faults reported by Sonar tool.
authorKitae Kim <kt920.kim@samsung.com>
Thu, 20 Dec 2012 06:04:34 +0000 (15:04 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Thu, 20 Dec 2012 06:05:16 +0000 (15:05 +0900)
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
Conflicts:

tizen/src/hw/maru_arm_pmu.c

tizen/src/hw/maru_arm_pmu.c
tizen/src/hw/maru_arm_vpci.c

index e7c1ae7..202ad81 100644 (file)
@@ -446,7 +446,7 @@ static void exynos4210_pmu_write(void *opaque, target_phys_addr_t offset,
             return;
         }
     default:
-        return;
+        break;
     }
 }
 
index c81d536..66e714b 100644 (file)
@@ -48,6 +48,8 @@ static uint64_t tizen_vpci_io_read(void *opaque, target_phys_addr_t addr,
         return cpu_inw(addr);
     case 4:
         return cpu_inl(addr);
+    default:
+        break;
     }
     assert(0);
 }