Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Tue, 31 Jan 2012 13:41:15 Commit: 9876ce5a3fdfe04936f23d5fd12fa47d66d524dd https://github.com/geany/geany/commit/9876ce5a3fdfe04936f23d5fd12fa47d66d524...
Log Message: ----------- Remove a redundant check
Modified Paths: -------------- src/main.c
Modified: src/main.c 8 files changed, 2 insertions(+), 6 deletions(-) =================================================================== @@ -866,13 +866,9 @@ static void load_settings(void)
void main_load_project_from_command_line(const gchar *locale_filename, gboolean use_session) { - gchar *pfile = NULL; - - if (utils_is_uri(locale_filename)) - pfile = utils_get_path_from_uri(locale_filename); - else - pfile = g_strdup(locale_filename); + gchar *pfile;
+ pfile = utils_get_path_from_uri(locale_filename); if (pfile != NULL) { if (use_session)
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).