suppress compiler warnings

suppress compiler warnings :
statement with no effect
left-hand operand of comma expression has no effect