diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-29 14:26:44 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-29 16:48:18 +0200 |
commit | 9a3567d5c0f6c451d008da003e64c5ba91e53842 (patch) | |
tree | ff99ffb2cc3835ba227b616ec27dab98bcfe0aaa /tests | |
parent | 80923051b3e803bf5bdc118c3bac246a308497d6 (diff) | |
download | gobject-introspection-9a3567d5c0f6c451d008da003e64c5ba91e53842.tar.gz |
build: enable -Wdiscarded-qualifiers
Except for the Python module because nothing in the CPython API is marked const
and we'd have to cast everywhere.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scanner/annotation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c index 49bdd246..0f3858f2 100644 --- a/tests/scanner/annotation.c +++ b/tests/scanner/annotation.c @@ -816,7 +816,7 @@ regress_annotation_space_after_comment_bug631690 (void) gchar* regress_annotation_return_filename (void) { - return "a utf-8 filename"; + return g_strdup ("a utf-8 filename"); } /** |