Fix for Compiler warning
authorPrakalathan Ponnusamy <prakalath.p@samsung.com>
Fri, 6 Sep 2013 02:43:00 +0000 (08:13 +0530)
committerPrakalathan Ponnusamy <prakalath.p@samsung.com>
Tue, 10 Sep 2013 09:47:12 +0000 (15:17 +0530)
Change-Id: Icbce92a0c990038456a027503b34bdb84aec0af3

src/ui/controls/FUiCtrl_DateTimeBarPresenter.cpp
src/ui/controls/FUiCtrl_GroupContainer.cpp

index 2b2bda9..64745c5 100644 (file)
@@ -935,8 +935,6 @@ _DateTimeBarPresenter::CalculateWindowBounds(void)
 
        arrowAreaBounds = GetArrowBounds();
 
-       Point arrowPosition;
-
        GET_SHAPE_CONFIG(DATETIMEBAR::ARROW_HEIGHT, orientation, arrowAreaBounds.height);
        GET_SHAPE_CONFIG(DATETIMEBAR::ARROW_WIDTH, orientation, arrowAreaBounds.width);
        GET_SHAPE_CONFIG(DATETIMEBAR::ITEM_HEIGHT, orientation, bodyAreaBounds.height);
index ff5858c..8a0f48d 100644 (file)
@@ -413,8 +413,6 @@ _GroupContainer::RemoveControlAt(int rowIndex, int columnIndex)
 result
 _GroupContainer::SetColumnWidth(int columnIndex, float width, bool isUser)
 {
-       result r = E_SUCCESS;
-
        SysTryReturnResult(NID_UI_CTRL, (columnIndex >= 0 && columnIndex < __columnCount), E_OUT_OF_RANGE, "columnIndex(%d) is out of range.", columnIndex);
        SysTryReturnResult(NID_UI_CTRL, width >= 0, E_INVALID_ARG, "Invalid argument is used. Column width (%f) should be non negative.", width);
 
@@ -495,8 +493,6 @@ _GroupContainer::GetColumnWidth(int columnIndex)
 result
 _GroupContainer::SetRowHeight(int rowIndex, float height, bool isUser)
 {
-       result r = E_SUCCESS;
-
        SysTryReturnResult(NID_UI_CTRL, (rowIndex >= 0 && rowIndex < __rowCount), E_OUT_OF_RANGE, "rowIndex(%d) is out of range.", rowIndex);
        SysTryReturnResult(NID_UI_CTRL, height >= 0, E_INVALID_ARG, "Invalid argument is used. Row height (%f) should be non negative.", height);
 
@@ -781,7 +777,6 @@ _GroupContainer::GetBoundsAt(int rowIndex, int columnIndex) const
 result
 _GroupContainer::Split(int rowIndex, int columnIndex)
 {
-       result r = E_SUCCESS;
        int rowEndIndex = -1;
        int columnEndIndex = -1;