summaryrefslogtreecommitdiff
path: root/src/terminal-options.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-02-20 10:50:49 +0100
committerZenWalker <[email protected]>2019-03-15 20:43:00 +0100
commit0c49db9a613c05f1f3d55f0f29e3314ac54ef4e2 (patch)
tree7b06cd29becf1870969a06b098f51050bad01621 /src/terminal-options.c
parent449753407d3ecf43e3401363557437984c138941 (diff)
downloadmate-terminal-0c49db9a613c05f1f3d55f0f29e3314ac54ef4e2.tar.bz2
mate-terminal-0c49db9a613c05f1f3d55f0f29e3314ac54ef4e2.tar.xz
warning: Value stored to 'screen_number' is never read
$ scan-build --keep-cc make terminal-app.c:249:5: warning: Value stored to 'screen_number' is never read screen_number = n; ^ ~
Diffstat (limited to 'src/terminal-options.c')
-rw-r--r--src/terminal-options.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/terminal-options.c b/src/terminal-options.c
index 7b16edb..58ddbe1 100644
--- a/src/terminal-options.c
+++ b/src/terminal-options.c
@@ -723,7 +723,6 @@ terminal_options_parse (const char *working_directory,
options->default_title = NULL;
options->zoom = 1.0;
- options->screen_number = -1;
options->default_working_dir = g_strdup (working_directory);
/* The old -x/--execute option is broken, so we need to pre-scan for it. */