Remove gcse optimization
[cparser] / adt / xmalloc.c
index bf3af9f..9654bbc 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of cparser.
- * Copyright (C) 2007-2008 Matthias Braun <matze@braunis.de>
+ * Copyright (C) 2007-2009 Matthias Braun <matze@braunis.de>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -79,7 +79,7 @@ void *xrealloc(void *ptr, size_t size)
 
 char *xstrdup(const char *str)
 {
-       size_t len = strlen(str) + 1;
+       size_t len = strlen(str) + 1;
        char *res = xmalloc(len);
        memcpy(res, str, len);