code using photoresistor, 7448 bcd - 7seg converter and arduino error

You replied so quick! thank you!! and wow i didnt even think about that, it really saves space, thank you! however, the problem im running into is that it is saying binaryA is void, which i know because i set it to be, but why does it tell me it is an error?