diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-12-09 00:26:12 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-12-09 00:26:12 +0100 |
commit | 9521ca9ea64bdba9d65cd383b0b2c2f3480436d7 (patch) | |
tree | 75b2c7e95901bfb9a6f61ba067111cc679b0ca1f /Python/strdup.c | |
parent | e82d14702c8bc5be7c45d3717bcbe500f16b95cf (diff) | |
parent | 192cfec5b31794abed76f11d7646d3010c3c2561 (diff) | |
download | cpython-9521ca9ea64bdba9d65cd383b0b2c2f3480436d7.tar.gz |
(Merge 3.3) Issue #17429: Oops, remove unused import
Diffstat (limited to 'Python/strdup.c')
-rw-r--r-- | Python/strdup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/strdup.c b/Python/strdup.c index 20187e0f0a..769d3db130 100644 --- a/Python/strdup.c +++ b/Python/strdup.c @@ -6,7 +6,7 @@ char * strdup(const char *str) { if (str != NULL) { - register char *copy = malloc(strlen(str) + 1); + char *copy = malloc(strlen(str) + 1); if (copy != NULL) return strcpy(copy, str); } |