diff options
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r-- | src/nvim/if_cscope.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c index ea305188f2..f3b46eb9e4 100644 --- a/src/nvim/if_cscope.c +++ b/src/nvim/if_cscope.c @@ -1463,7 +1463,6 @@ retry: // If the line's too long for the buffer, discard it. if ((p = strchr(buf, '\n')) == NULL) { while ((ch = getc(csinfo[cnumber].fr_fp)) != EOF && ch != '\n') { - ; } return NULL; } @@ -1521,7 +1520,7 @@ static void cs_file_results(FILE *f, int *nummatches_a) context = xmalloc(strlen(cntx) + 5); - if (strcmp(cntx, "<global>")==0) { + if (strcmp(cntx, "<global>") == 0) { strcpy(context, "<<global>>"); } else { sprintf(context, "<<%s>>", cntx); |