Another similar fix for use of an uninitialized variable.
[ardour.git] / gtk2_ardour / main.cc
index 21bc398c861fbcd07676d326549c80a7b027b767..70f3a154988480fb4f0f52dad10c3014623e38ae 100644 (file)
@@ -50,6 +50,7 @@
 
 #include "i18n.h"
 
+using namespace std;
 using namespace Gtk;
 using namespace ARDOUR_COMMAND_LINE;
 using namespace ARDOUR;
@@ -282,7 +283,7 @@ fixup_bundle_environment ()
 #endif
 
 static void
-sigpipe_handler (int sig)
+sigpipe_handler (int /*sig*/)
 {
        cerr << _("SIGPIPE received - JACK has probably died") << endl;
 }
@@ -344,7 +345,7 @@ int main (int argc, char *argv[])
        
        cout << _("Ardour/GTK ") 
             << VERSIONSTRING
-            << _("\n   (built using ")
+            << _(" (built using ")
             << svn_revision
 #ifdef __GNUC__
             << _(" and GCC version ") << __VERSION__ 
@@ -382,10 +383,6 @@ int main (int argc, char *argv[])
                exit (1);
        }
 
-#ifdef SOMEBODY_WANTS_TO_FIX_THIS
-       ui->run_startup ();
-#endif
-
        ui->run (text_receiver);
        ui = 0;