shithub: vim

Download patch

ref: 2a83ebb7dc6f8f719e2018df7a3a6b090e6541c9
parent: 0663fb8286dfe7d76770dc0d27e7d41e0ab0670c
author: phil9 <telephil9@gmail.com>
date: Mon Sep 6 05:51:00 EDT 2021

fix compiler warnings

--- a/os_plan9.c
+++ b/os_plan9.c
@@ -679,9 +679,8 @@
     Point pt;
     int code;
 
-    code = 0;
     while (ecanmouse()) {
-        m = emouse();
+	m = emouse();
 	pt = subpt(m.xy, screen->r.min);
 	if(last_button) {
 	    if(m.buttons) {
@@ -1156,6 +1155,7 @@
 #endif
 
 int mch_call_shell(char_u *cmd, int options) {
+    USED(options);
     int p[2];
     int pid;
     int status;