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
153dea17
Commit
153dea17
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: discard another set of useless asserts
parent
bb8d65e8
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/winio.c
+0
-7
src/winio.c
with
0 additions
and
7 deletions
+0
-7
src/winio.c
View file @
153dea17
...
...
@@ -2018,8 +2018,6 @@ void titlebar(const char *path)
if
(
topwin
==
NULL
)
return
;
assert
(
path
!=
NULL
||
openfile
->
filename
!=
NULL
);
wattron
(
topwin
,
interface_color_pair
[
TITLE_BAR
]);
blank_titlebar
();
...
...
@@ -2292,8 +2290,6 @@ void bottombars(int menu)
* the whole string! We do not bother padding the entry with blanks. */
void
onekey
(
const
char
*
keystroke
,
const
char
*
desc
,
int
length
)
{
assert
(
keystroke
!=
NULL
&&
desc
!=
NULL
);
wattron
(
bottomwin
,
interface_color_pair
[
KEY_COMBO
]);
waddnstr
(
bottomwin
,
keystroke
,
actual_x
(
keystroke
,
length
));
wattroff
(
bottomwin
,
interface_color_pair
[
KEY_COMBO
]);
...
...
@@ -2365,9 +2361,6 @@ void edit_draw(filestruct *fileptr, const char *converted,
* might be beyond the null terminator of the string. */
#endif
assert
(
openfile
!=
NULL
&&
fileptr
!=
NULL
&&
converted
!=
NULL
);
assert
(
strlenpt
(
converted
)
<=
editwincols
);
#ifdef ENABLE_LINENUMBERS
/* If line numbering is switched on, put a line number in front of
* the text -- but only for the parts that are not softwrapped. */
...
...
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