Index: bcopy.c
===================================================================
RCS file: /cvs/src/lib/libc/string/bcopy.c,v
retrieving revision 1.7
diff -u -p -r1.7 bcopy.c
--- bcopy.c     31 Aug 2015 02:53:57 -0000      1.7
+++ bcopy.c     24 Aug 2017 19:16:30 -0000
@@ -53,7 +53,7 @@ bcopy(const void *src0, void *dst0, size
        size_t t;

        if (length == 0 || dst == src)          /* nothing to do */
-               goto done;
+               return;

        /*
         * Macros: loop-t-times; and loop-t-times, t>0
@@ -107,7 +107,5 @@ bcopy(const void *src0, void *dst0, size
                t = length & wmask;
                TLOOP(*--dst = *--src);
        }
-done:
-       return;
 }
 DEF_WEAK(bcopy);

Reply via email to