[MPlayer-cvslog] r37088 - trunk/gui/ui/render.c
ib
subversion at mplayerhq.hu
Thu Mar 27 11:28:50 CET 2014
Author: ib
Date: Thu Mar 27 11:28:50 2014
New Revision: 37088
Log:
Remove pointless initialization.
Additionally, merge declarations.
Modified:
trunk/gui/ui/render.c
Modified: trunk/gui/ui/render.c
==============================================================================
--- trunk/gui/ui/render.c Thu Mar 27 10:44:01 2014 (r37087)
+++ trunk/gui/ui/render.c Thu Mar 27 11:28:50 2014 (r37088)
@@ -359,9 +359,8 @@ MMMM_SS: snprintf(trans, sizeof(t
static void PutImage(guiImage *bf, int x, int y, int max, int ofs)
{
- int i = 0, ix, iy;
- uint32_t *buf = NULL;
- uint32_t *drw = NULL;
+ int i, ix, iy;
+ uint32_t *drw, *buf;
register uint32_t tmp;
/* register uint32_t yc; */
@@ -400,8 +399,7 @@ static void PutImage(guiImage *bf, int x
static void SinglePhasePutImage(guiImage *bf, int x, int y, float frac)
{
int i = 0, w, r, ix, iy;
- uint32_t *buf = NULL;
- uint32_t *drw = NULL;
+ uint32_t *drw, *buf;
register uint32_t tmp;
if (!bf || (bf->Image == NULL))
More information about the MPlayer-cvslog
mailing list