(OSX) Get rid of unused variable warning/variable is used before it's initialized
(Apple) Ifdef code with HAVE_LOCATION and HAVE_CAMERA