wined3d: Get rid of the redundant "return_value" variable.
This commit is contained in:
parent
a4ed46d398
commit
ad0ef46a39
|
@ -468,7 +468,6 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
|
||||||
GLint gl_max;
|
GLint gl_max;
|
||||||
GLfloat gl_floatv[2];
|
GLfloat gl_floatv[2];
|
||||||
int major = 1, minor = 0;
|
int major = 1, minor = 0;
|
||||||
BOOL return_value = TRUE;
|
|
||||||
unsigned i;
|
unsigned i;
|
||||||
HDC hdc;
|
HDC hdc;
|
||||||
unsigned int vidmem=0;
|
unsigned int vidmem=0;
|
||||||
|
@ -1548,7 +1547,7 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
|
||||||
}
|
}
|
||||||
LEAVE_GL();
|
LEAVE_GL();
|
||||||
|
|
||||||
return return_value;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************
|
/**********************************************************
|
||||||
|
|
Loading…
Reference in New Issue