diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-08 18:16:18 +0200 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-08 18:16:18 +0200 |
| commit | f04421b4a0cd3b0f375bc67ac0102a8b6b7edc6e (patch) | |
| tree | 4a9ea0b2010fa72806351fb7f4dec90ba7b4ea9d /Python/strdup.c | |
| parent | 23a45a46902515a466c23c541b0ebb5c7308c3c4 (diff) | |
| parent | ebce63d957d938041ce47c8b225e6bd718dcf421 (diff) | |
| download | cpython-f04421b4a0cd3b0f375bc67ac0102a8b6b7edc6e.tar.gz | |
Issue #19535: Fixed test_docxmlrpc, test_functools, test_inspect, and
test_statistics when python is run with -OO.
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); } |
