The following shows the diffstat and patchsets between
68878f1..f23f011^
----------------------------------------------------------------
commit f23f011fcd711422645043a215d5638a4965b187
Author: Thomas Adam <[email protected]>
Date:   Thu Apr 9 10:38:49 2015 +0100

    monitor_by_xy: shut up GCC
    
    Assign m2 to NULL.
---
 libs/FScreen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/FScreen.c b/libs/FScreen.c
index 7eee5a0..6e1b049 100644
--- a/libs/FScreen.c
+++ b/libs/FScreen.c
@@ -149,7 +149,7 @@ monitor_by_number(int number)
 struct monitor *
 monitor_by_xy(int x, int y)
 {
-       struct monitor  *m, *m2;
+       struct monitor  *m, *m2 = NULL;
 
        TAILQ_FOREACH(m, &monitor_q, entry) {
                if (x >= m->coord.x && x < m->coord.x + m->coord.w &&

----------------------------------------------------------------

Diffstat:

----------------------------------------------------------------
 libs/FScreen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

----------------------------------------------------------------

Reply via email to