]> code.delx.au - gnu-emacs/blobdiff - lisp/vc/vc-cvs.el
Expunge occurrences of `setq' with an odd number of arguments.
[gnu-emacs] / lisp / vc / vc-cvs.el
index 99a990b4417fba3e14a9e507b22b36fe0143b756..e21aece85aef688e80b419c45fdb30dc62b18ee7 100644 (file)
@@ -882,11 +882,11 @@ For an empty string, nil is returned (invalid CVS root)."
             (setq host uhost))
           ;; Remove empty HOST
           (and (equal host "")
-               (setq host))
+               (setq host nil))
           ;; Fix windows style CVS root `:local:C:\\project\\cvs\\some\\dir'
           (and host
                (equal method "local")
-               (setq root (concat host ":" root) host))
+               (setq root (concat host ":" root) host nil))
           ;; Normalize CVS root record
           (list method user host root)))))