ecore_x: removing useless assignment.
authorSrivardhan Hebbar <sri.hebbar@samsung.com>
Mon, 19 Oct 2015 18:24:49 +0000 (11:24 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 19 Oct 2015 18:24:52 +0000 (11:24 -0700)
Summary:
The assigned value has no effect outside the function. So removing it.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D3181

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore_x/xlib/ecore_x_randr.c

index 99d630c..1a94857 100644 (file)
@@ -897,7 +897,6 @@ ecore_x_randr_mode_info_free(Ecore_X_Randr_Mode_Info *mode_info)
           {
              if (mode_info->name) free(mode_info->name);
              free(mode_info);
-             mode_info = NULL;
           }
      }
 #endif