testasyncgetprop.c: remove unused variable
window.c: remove unused variables