[PATCH] progman: Avoid using the comma operator