[X2Go-Commits] [x2goserver] 67/99: X2Go/Server/Agent/NX/Options.pm: undef can't be referenced, so adjust/fix the comments.
git-admin at x2go.org
git-admin at x2go.org
Mon Dec 28 06:10:49 CET 2020
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit 325121d9ce387385765f0b7809131c3699f4f263
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Nov 23 07:08:23 2020 +0100
X2Go/Server/Agent/NX/Options.pm: undef can't be referenced, so adjust/fix the comments.
---
X2Go/Server/Agent/NX/Options.pm | 6 +++---
debian/changelog | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/X2Go/Server/Agent/NX/Options.pm b/X2Go/Server/Agent/NX/Options.pm
index 90132422..2f620cd4 100644
--- a/X2Go/Server/Agent/NX/Options.pm
+++ b/X2Go/Server/Agent/NX/Options.pm
@@ -64,7 +64,7 @@ BEGIN {
# SIMPLY JOIN THE LIST OR YOU WILL ADD A TRAILING COMMA! The port component
# hash retains the colon separator.
#
-# On error, returns an undef reference.
+# On error, returns undef.
sub parse_options {
my $ret = undef;
my @intermediate = ();
@@ -536,7 +536,7 @@ sub filter_option_modify {
#
# Returns a reference to a modified *copy* of the intermediate options array.
#
-# On error, returns a reference to undef.
+# On error, returns undef.
sub transform_intermediate {
my $ret = undef;
my $error_detected = 0;
@@ -707,7 +707,7 @@ sub interpret_transform {
#
# Returns a reference to the modified, compacted intermediate options array.
#
-# On error, returns a reference to undef.
+# On error, returns undef.
sub compact_intermediate {
my $ret = undef;
my $error_detected = 0;
diff --git a/debian/changelog b/debian/changelog
index c3c973c2..8b161141 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -321,6 +321,8 @@ x2goserver (4.1.0.4-0x2go1.2) UNRELEASED; urgency=medium
not using a do block/do-while loop any longer. While the information
provided there might be an interesting tidbit, it's not relevant to the
code any longer and might actually confuse readers.
+ - X2Go/Server/Agent/NX/Options.pm: undef can't be referenced, so
+ adjust/fix the comments.
* debian/control:
+ Build-depend upon lsb-release for distro version detection.
* debian/x2goserver.manpages:
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list