Browse Source

Fix compiler warnings introduced in commit d042e3a.

Bastien Guerry 5 years ago
parent
commit
79e907fd8c
2 changed files with 2 additions and 6 deletions
  1. 1 3
      contrib/lisp/org-e-odt.el
  2. 1 3
      lisp/org-odt.el

+ 1 - 3
contrib/lisp/org-e-odt.el

@@ -387,9 +387,7 @@ Also add it to `rng-schema-locating-files'."
 		(file-readable-p
 		 (expand-file-name "schemas.xml" schema-dir)))
 	       schema-dir
-	     (when value
-	       (message "No OpenDocument schema files" value))
-	     nil)))
+	     (when value (message "No OpenDocument schema files")))))
     (when org-e-odt-schema-dir
       (eval-after-load 'rng-loc
 	'(add-to-list 'rng-schema-locating-files

+ 1 - 3
lisp/org-odt.el

@@ -139,9 +139,7 @@ Also add it to `rng-schema-locating-files'."
 		(file-readable-p
 		 (expand-file-name "schemas.xml" schema-dir)))
 	       schema-dir
-	     (when value
-	       (message "No OpenDocument schema files" value))
-	     nil)))
+	     (when value (message "No OpenDocument schema files")))))
     (when org-export-odt-schema-dir
       (eval-after-load 'rng-loc
 	'(add-to-list 'rng-schema-locating-files