summaryrefslogtreecommitdiff
path: root/baobab/src/baobab-remote-connect-dialog.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-16 12:56:57 +0100
committerraveit65 <[email protected]>2020-11-25 12:50:28 +0100
commit4de3e8ae87463027e5365018505748353dc44125 (patch)
treeab9bbcfe1b10c0c0b82def1bf6e25aaaacf3c059 /baobab/src/baobab-remote-connect-dialog.c
parentafec076d38599ecf8005a0e645d65f532dad720e (diff)
downloadmate-utils-4de3e8ae87463027e5365018505748353dc44125.tar.bz2
mate-utils-4de3e8ae87463027e5365018505748353dc44125.tar.xz
baobab: Fix conversion warnings
Diffstat (limited to 'baobab/src/baobab-remote-connect-dialog.c')
-rw-r--r--baobab/src/baobab-remote-connect-dialog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/baobab/src/baobab-remote-connect-dialog.c b/baobab/src/baobab-remote-connect-dialog.c
index e892e06d..9557fb2c 100644
--- a/baobab/src/baobab-remote-connect-dialog.c
+++ b/baobab/src/baobab-remote-connect-dialog.c
@@ -564,10 +564,6 @@ port_insert_text (GtkEditable *editable,
{
int pos;
- if (new_text_length < 0) {
- new_text_length = strlen (new_text);
- }
-
/* Only allow digits to be inserted as port number */
for (pos = 0; pos < new_text_length; pos++) {
if (!g_ascii_isdigit (new_text[pos])) {