TextInput & TextView: Klocwork issues fix 24/29824/4
authorXiangyin Ma <x1.ma@samsung.com>
Tue, 4 Nov 2014 16:47:30 +0000 (16:47 +0000)
committerXiangyin Ma <x1.ma@samsung.com>
Thu, 6 Nov 2014 14:37:17 +0000 (06:37 -0800)
commitead5748ee6ce71eeaf58e2d9b98a0e1d6a1fbd15
treea454a2e99f7d49456b0f6059b0e61887630ffcc8
parent4f47cceb532287509dc8b0f410e8922ce05e0324
TextInput & TextView: Klocwork issues fix

[Problem] Klocwork issues

Ideally text-input-decorator-impl.cpp should have the issues ignored as not a problem.
If that is not possible then remove them as of this patch and they will have to be replaced later.

[Cause] 1. unreachable code
        2. data members are not initialized in constructor
        3. constant condition in conditional expression
        4. unused assignment

[Solution]

Change-Id: I49d7bab8600d05299694ce4240ae440334cb65f5
base/dali-toolkit/internal/controls/text-input/text-input-decorator-impl.cpp
base/dali-toolkit/internal/controls/text-input/text-input-impl.cpp
base/dali-toolkit/internal/controls/text-input/text-input-popup-impl.cpp
base/dali-toolkit/internal/controls/text-input/text-input-popup-new-impl.h
base/dali-toolkit/internal/controls/text-input/text-input-text-highlight-impl.cpp
base/dali-toolkit/internal/controls/text-view/text-view-impl.cpp