Skip to content
GitLab
Menu
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
7b9bd653
Commit
7b9bd653
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: drop a useless assert, and don't abort over an unhandled option
parent
f72fecee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/nano.c
+0
-4
src/nano.c
src/rcfile.c
+1
-2
src/rcfile.c
with
1 addition
and
6 deletions
+1
-6
src/nano.c
View file @
7b9bd653
...
...
@@ -2636,7 +2636,6 @@ int main(int argc, char **argv)
refresh_needed
=
TRUE
;
}
#endif
if
(
currmenu
!=
MMAIN
)
display_main_list
();
...
...
@@ -2663,7 +2662,4 @@ int main(int argc, char **argv)
/* Read in and interpret keystrokes. */
do_input
(
TRUE
);
}
/* We should never get here. */
assert
(
FALSE
);
}
This diff is collapsed.
Click to expand it.
src/rcfile.c
View file @
7b9bd653
...
...
@@ -1167,8 +1167,7 @@ void parse_rcfile(FILE *rcstream, bool syntax_only)
tabsize
=
-
1
;
}
free
(
option
);
}
else
assert
(
FALSE
);
}
}
#ifdef ENABLE_COLOR
...
...
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