Two buttons - one output

CrossRoads sorry i dont mean to be negative on your code... but i do mean why do you need to know the current state of the led... sine if you press switch1 it turn on switch2 it turn off...