[dev][st] st.c:2548: warning: unused variable 'minor' and 'major'
Hello guys!
Pulled today fresh st git repo.
My compiler complains about unused variables.
So, I commented it out. Here is a patch.
diff --git a/st.c b/st.c
index 300e5ec..b203be0 100644
--- a/st.c
+++ b/st.c
_AT__AT_ -2545,7 +2545,7 @@ xinit(void) {
XGCValues gcvalues;
Cursor cursor;
Window parent;
- int sw, sh, major, minor;
+ int sw, sh, /*major, minor*/;
if(!(xw.dpy = XOpenDisplay(NULL)))
die("Can't open display\n");
Received on Wed Feb 20 2013 - 21:05:00 CET
This archive was generated by hypermail 2.3.0
: Thu Feb 21 2013 - 19:25:10 CET