Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Sun, 29 Nov 2020 13:04:14 UTC Commit: d2740f21feb84b6f951398c6f683674b2b56bfed https://github.com/geany/geany/commit/d2740f21feb84b6f951398c6f683674b2b56bf...
Log Message: ----------- Remove unnecessary code when reading IPC socket port on Windows
Modified Paths: -------------- src/libmain.c
Modified: src/libmain.c 8 lines changed, 0 insertions(+), 8 deletions(-) =================================================================== @@ -403,14 +403,6 @@ static gint get_windows_socket_port(void) GKeyFile *config = g_key_file_new(); gint port_number;
- if (! g_file_test(configfile, G_FILE_TEST_IS_REGULAR)) - { - geany_debug( - "No user config file found, use default TCP port (%d).", - SOCKET_WINDOWS_REMOTE_CMD_PORT); - g_free(configfile); - return SOCKET_WINDOWS_REMOTE_CMD_PORT; - } g_key_file_load_from_file(config, configfile, G_KEY_FILE_NONE, NULL); port_number = utils_get_setting_integer(config, PACKAGE, "socket_remote_cmd_port", SOCKET_WINDOWS_REMOTE_CMD_PORT);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).