remove unnecessary battery_config null check

CID 1040140
This commit is contained in:
Mike Blumenkrantz 2014-03-13 12:55:24 -04:00
parent d391e5c130
commit 8422eea8d0
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ _battery_warning_popup(Instance *inst, int t, double percent)
if ((!inst) || (inst->warning)) return; if ((!inst) || (inst->warning)) return;
#ifdef HAVE_ENOTIFY #ifdef HAVE_ENOTIFY
if (battery_config && battery_config->desktop_notifications) if (battery_config->desktop_notifications)
{ {
E_Notification_Notify n; E_Notification_Notify n;
memset(&n, 0, sizeof(E_Notification_Notify)); memset(&n, 0, sizeof(E_Notification_Notify));