Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
1e5614b3
Commit
1e5614b3
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: avoid two compiler warnings
parent
04b9b9c7
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/color.c
+1
-1
src/color.c
src/rcfile.c
+1
-1
src/rcfile.c
with
2 additions
and
2 deletions
+2
-2
src/color.c
View file @
1e5614b3
...
...
@@ -343,7 +343,7 @@ void reset_multis_for_id(filestruct *fileptr, int index)
void
reset_multis
(
filestruct
*
fileptr
,
bool
force
)
{
const
colortype
*
ink
;
int
nobegin
,
noend
;
int
nobegin
=
0
,
noend
=
0
;
regmatch_t
startmatch
,
endmatch
;
/* If there is no syntax or no multiline regex, there is nothing to do. */
...
...
This diff is collapsed.
Click to expand it.
src/rcfile.c
View file @
1e5614b3
...
...
@@ -658,7 +658,7 @@ void parse_colors(char *ptr, int rex_flags)
/* Now for the fun part. Start adding regexes to individual strings
* in the colorstrings array, woo! */
while
(
ptr
!=
NULL
&&
*
ptr
!=
'\0'
)
{
colortype
*
newcolor
;
colortype
*
newcolor
=
NULL
;
/* The container for a color plus its regexes. */
bool
goodstart
;
/* Whether the start expression was valid. */
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help