From 3dd65d9533e11d892ed58e334cd9b69b27751ab5 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sun, 23 Sep 2007 23:51:41 +0200 Subject: [PATCH] Remove unused 'view' argument from open_editor --- tig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tig.c b/tig.c index 24f84d4..620f14b 100644 --- a/tig.c +++ b/tig.c @@ -2143,7 +2143,7 @@ open_view(struct view *prev, enum request request, enum open_flags flags) } static void -open_editor(struct view *view, bool from_root, char *file) +open_editor(bool from_root, char *file) { char cmd[SIZEOF_STR]; char file_sq[SIZEOF_STR]; @@ -3319,7 +3319,7 @@ status_request(struct view *view, enum request request, struct line *line) if (!status) return request; - open_editor(view, status->status != '?', status->name); + open_editor(status->status != '?', status->name); break; case REQ_ENTER: @@ -3553,7 +3553,7 @@ stage_request(struct view *view, enum request request, struct line *line) if (!stage_status.name[0]) return request; - open_editor(view, stage_status.status != '?', stage_status.name); + open_editor(stage_status.status != '?', stage_status.name); break; case REQ_ENTER: -- 2.30.2