Update system.cpp

Fixed compiler warning over comma operator clause