hrev46560 adds 1 changeset to branch 'master' old head: f5a47df37d2dded1879279b69ef813f926f6e1f8 new head: fc5dbdc92c6064bb2f1e255ebcbb27fb5917f81f overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=fc5dbdc+%5Ef5a47df ---------------------------------------------------------------------------- fc5dbdc: Get rid of an error caused by -Werror=unused-function. Signed-off-by: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> [ Jonathan Schleifer <js@xxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev46560 Commit: fc5dbdc92c6064bb2f1e255ebcbb27fb5917f81f URL: http://cgit.haiku-os.org/haiku/commit/?id=fc5dbdc Author: Jonathan Schleifer <js@xxxxxxxxxxx> Date: Wed Dec 18 00:54:48 2013 UTC Committer: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> Commit-Date: Thu Dec 19 01:07:21 2013 UTC ---------------------------------------------------------------------------- 1 file changed, 4 insertions(+) src/kits/app/Application.cpp | 4 ++++ ---------------------------------------------------------------------------- diff --git a/src/kits/app/Application.cpp b/src/kits/app/Application.cpp index b8d9c6e..b2704e9 100644 --- a/src/kits/app/Application.cpp +++ b/src/kits/app/Application.cpp @@ -175,7 +175,9 @@ extern const char * const *__libc_argv; // prototypes of helper functions static const char* looper_name_for(const char *signature); static status_t check_app_signature(const char *signature); +#ifndef RUN_WITHOUT_REGISTRAR static void fill_argv_message(BMessage &message); +#endif BApplication::BApplication(const char *signature) @@ -1598,6 +1600,7 @@ looper_name_for(const char *signature) /*! \brief Fills the passed BMessage with B_ARGV_RECEIVED infos. */ +#ifndef RUN_WITHOUT_REGISTRAR static void fill_argv_message(BMessage &message) { @@ -1620,4 +1623,5 @@ fill_argv_message(BMessage &message) if (getcwd(cwd, B_PATH_NAME_LENGTH)) message.AddString("cwd", cwd); } +#endif