diff lisp/x-dnd.el @ 53823:cc4faf95fea2

* x-dnd.el (x-dnd-get-local-file-name): Fix byte compiler warning
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 05 Feb 2004 11:46:57 +0000
parents 1f2fa74fb0aa
children e83b3b3941cf
line wrap: on
line diff
--- a/lisp/x-dnd.el	Thu Feb 05 04:55:21 2004 +0000
+++ b/lisp/x-dnd.el	Thu Feb 05 11:46:57 2004 +0000
@@ -289,8 +289,7 @@
   (let ((f (cond ((string-match "^file:///" uri)	; XDND format.
 		  (substring uri (1- (match-end 0))))
 		 ((string-match "^file:" uri)		; Old KDE, Motif, Sun
-		  (substring uri (match-end 0)))
-		 nil)))
+		  (substring uri (match-end 0))))))
     (when (and f must-exist)
       (let* ((decoded-f (decode-coding-string 
 			 f