aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/bits/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/bits/string.h')
-rw-r--r--sysdeps/i386/bits/string.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/sysdeps/i386/bits/string.h b/sysdeps/i386/bits/string.h
index d67db63..1ea0571 100644
--- a/sysdeps/i386/bits/string.h
+++ b/sysdeps/i386/bits/string.h
@@ -122,17 +122,18 @@ __memcpy_c (void *__dest, __const void *__src, size_t __n)
{
case 0:
__COMMON_CODE ("");
- return __dest;
+ break;
case 1:
__COMMON_CODE ("\n\tmovsb");
- return __dest;
+ break;
case 2:
__COMMON_CODE ("\n\tmovsw");
- return __dest;
+ break;
case 3:
__COMMON_CODE ("\n\tmovsw\n\tmovsb");
- return __dest;
- }
+ break;
+ }
+ return __dest;
#undef __COMMON_CODE
}
@@ -214,17 +215,18 @@ __memset_cc (void *__s, unsigned long int __pattern, size_t __n)
{
case 0:
__COMMON_CODE ("");
- return __s;
+ break;
case 1:
__COMMON_CODE ("\n\tstosb");
- return __s;
+ break;
case 2:
__COMMON_CODE ("\n\tstosw");
- return __s;
+ break;
case 3:
__COMMON_CODE ("\n\tstosw\n\tstosb");
- return __s;
+ break;
}
+ return __s;
#undef __COMMON_CODE
}