2006-01-31 Roland McGrath <roland@redhat.com>
authorroland <roland>
Tue, 31 Jan 2006 19:18:01 +0000 (19:18 +0000)
committerroland <roland>
Tue, 31 Jan 2006 19:18:01 +0000 (19:18 +0000)
* inet/rcmd.c (iruserfopen): Remove redundant initialization.
From Bernhard Fischer <rep.nop@aon.at>.

inet/rcmd.c

index da6c070..341304a 100644 (file)
@@ -477,7 +477,6 @@ iruserfopen (const char *file, uid_t okuser)
   /* If not a regular file, if owned by someone other than user or
      root, if writeable by anyone but the owner, or if hardlinked
      anywhere, quit.  */
-  cp = NULL;
   if (__lxstat64 (_STAT_VER, file, &st))
     cp = _("lstat failed");
   else if (!S_ISREG (st.st_mode))