Fix function without return warning (quit())
Fixing unused variable warning in main.cc