aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/reader.h
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-05-04 15:19:47 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-04 15:32:04 -0700
commit79f342b954a6f47ee3f1277a899066a654e7c330 (patch)
treea9386ce1e108a5c046276e4266e0129404fc4ea0 /src/reader.h
parent527e5f52ba5a097a24490065fea23b4627032e4c (diff)
lint cleanup: eliminate "redundant" errors
This removes some pointless parentheses but the primary focus is removing redundancies like unnecessary "else" clauses.
Diffstat (limited to 'src/reader.h')
-rw-r--r--src/reader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.h b/src/reader.h
index 4c5a511e..df667e9e 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -111,7 +111,7 @@ history_t *reader_get_history(void);
void reader_set_buffer(const wcstring &b, size_t p);
/// Get the current cursor position in the command line. If interactive mode is uninitialized,
-/// return (size_t)(-1).
+/// return (size_t)-1.
size_t reader_get_cursor_pos();
/// Get the current selection range in the command line. Returns false if there is no active