Permalink
Browse files

s/(void)/()/

This isn't C
  • Loading branch information...
1 parent e5c96b6 commit 773f32bbc5b2a6f9cac8b6923c0a2cd2cfa41a9e @TimePath TimePath committed with Kangz Jan 16, 2016
@@ -216,8 +216,8 @@ void trap_SetUserCmdValue( int stateValue, int flags, float sensitivi
int trap_Key_GetCatcher();
void trap_Key_SetCatcher( int catcher );
void trap_Key_SetBinding( int keyNum, int team, const char *cmd );
-void trap_Key_ClearCmdButtons( void );
-void trap_Key_ClearStates( void );
+void trap_Key_ClearCmdButtons();
+void trap_Key_ClearStates();
std::vector<int> trap_Key_KeysDown( const std::vector<int>& keys );
void trap_SetMouseMode( MouseMode mode );
void trap_S_StopBackgroundTrack();
@@ -41,7 +41,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
away by defining something named __iob_func.
*/
extern "C" {
- FILE* __iob_func(void) {
+ FILE* __iob_func() {
return stderr - 2;
}
}
@@ -246,7 +246,7 @@ class GLShaderManager
void load( T *& shader )
{
if( _deformShaders.size() == 0 ) {
- (void)getDeformShaderIndex( NULL, 0 );
+ Q_UNUSED(getDeformShaderIndex( NULL, 0 ));
}
shader = new T( this );

0 comments on commit 773f32b

Please sign in to comment.