disable warnings programatically

This commit is contained in:
berkeviktor@aol.com 2010-08-17 06:26:01 +02:00
parent 9042de5a91
commit ecb6f2b346
1 changed files with 10 additions and 1 deletions

View File

@ -644,7 +644,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/editlist.c xchat-wdk/src
#include <sys/stat.h>
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/fe-gtk.c xchat-wdk/src/fe-gtk/fe-gtk.c
--- xchat-wdk.orig/src/fe-gtk/fe-gtk.c 2010-08-14 03:46:21 +0200
+++ xchat-wdk/src/fe-gtk/fe-gtk.c 2010-08-15 12:24:39 +0200
+++ xchat-wdk/src/fe-gtk/fe-gtk.c 2010-08-17 06:24:51 +0200
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
@ -670,6 +670,15 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/fe-gtk.c xchat-wdk/src/f
#include "gtkutil.h"
#include "maingui.h"
#include "pixmaps.h"
@@ -330,7 +332,7 @@
{
session *sess;
- if (getenv ("XCHAT_WARNING_IGNORE"))
+ /* if (getenv ("XCHAT_WARNING_IGNORE")) */
return;
sess = find_dialog (serv_list->data, "(warnings)");
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/fe-gtk.h xchat-wdk/src/fe-gtk/fe-gtk.h
--- xchat-wdk.orig/src/fe-gtk/fe-gtk.h 2010-05-30 08:31:29 +0200
+++ xchat-wdk/src/fe-gtk/fe-gtk.h 2010-08-15 12:24:39 +0200