Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
58cb46fb
Commit
58cb46fb
authored
Mar 21, 2011
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
parent
3ef271f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
lib-src/ChangeLog
lib-src/ChangeLog
+2
-0
lib-src/etags.c
lib-src/etags.c
+1
-1
No files found.
lib-src/ChangeLog
View file @
58cb46fb
2011-03-21 Paul Eggert <eggert@cs.ucla.edu>
* etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
etags: In Prolog functions, don't assume int fits in size_t.
This avoids a warning with gcc -Wstrict-overflow.
* etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
...
...
lib-src/etags.c
View file @
58cb46fb
...
...
@@ -4198,7 +4198,7 @@ Ada_funcs (FILE *inf)
/* Skip a string i.e. "abcd". */
if (inquote || (*dbp == '"'))
{
dbp = etags_strchr (
(inquote) ? dbp : dbp+1
, '"');
dbp = etags_strchr (
dbp + !inquote
, '"');
if (dbp != NULL)
{
inquote = FALSE;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment