diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-03-05 00:58:23 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-03-05 00:58:23 +0000 |
commit | 69097289e58777306fdd88b08c510eca0916b4a5 (patch) | |
tree | 4b35d3d419a1d48edd5f9f04e749e585108a974c | |
parent | 646a609e5acdd37042f2169068e99825a3867d50 (diff) | |
download | pam-69097289e58777306fdd88b08c510eca0916b4a5.tar.gz pam-69097289e58777306fdd88b08c510eca0916b4a5.tar.bz2 pam-69097289e58777306fdd88b08c510eca0916b4a5.zip |
Fix whitespace issues
Remove trailing whitespace introduced by commit
f9c9c72121eada731e010ab3620762bcf63db08f.
Remove blank lines at EOF introduced by commit
65d6735c5949ec233df9813f734e918a93fa36cf.
This makes the project free of warnings reported by
git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD
* doc/custom-html.xsl: Remove blank line at EOF.
* doc/custom-man.xsl: Likewise.
* modules/pam_motd/pam_motd.c: Remove trailing whitespace.
-rw-r--r-- | doc/custom-html.xsl | 1 | ||||
-rw-r--r-- | doc/custom-man.xsl | 1 | ||||
-rw-r--r-- | modules/pam_motd/pam_motd.c | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/doc/custom-html.xsl b/doc/custom-html.xsl index 081beaf6..fdd5df7d 100644 --- a/doc/custom-html.xsl +++ b/doc/custom-html.xsl @@ -16,4 +16,3 @@ </xsl:call-template> </xsl:template> </xsl:stylesheet> - diff --git a/doc/custom-man.xsl b/doc/custom-man.xsl index bf01d583..4c35e839 100644 --- a/doc/custom-man.xsl +++ b/doc/custom-man.xsl @@ -7,4 +7,3 @@ <ss:substitution oldstring="%vendordir%" newstring="{$vendordir}" /> </xsl:param> </xsl:stylesheet> - diff --git a/modules/pam_motd/pam_motd.c b/modules/pam_motd/pam_motd.c index f22cea3a..0435a904 100644 --- a/modules/pam_motd/pam_motd.c +++ b/modules/pam_motd/pam_motd.c @@ -136,7 +136,7 @@ static int join_dir_strings(char **strp_out, const char *a_str, const char *b_st int has_sep = 0; int retval = -1; char *join_strp = NULL; - + if (strp_out == NULL || a_str == NULL || b_str == NULL) { goto out; } |