summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-04-26 20:18:13 -0700
committerKeith Packard <keithp@keithp.com>2010-04-26 20:18:13 -0700
commit3f63db89191701139d45332ca80b9d6eb327c773 (patch)
treed70a66735a976c5705273b911f4d5b294e9a1b0d /mi
parent41bdb6c003cca3ef0ff88d9c7de318115bab1ba2 (diff)
parent54e51de8cd950b3f5b30e72cf1d604f54f619f0e (diff)
Merge remote branch 'jamey/for-keith'
Diffstat (limited to 'mi')
-rw-r--r--mi/miinitext.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mi/miinitext.c b/mi/miinitext.c
index 844863a59..a7441c9a8 100644
--- a/mi/miinitext.c
+++ b/mi/miinitext.c
@@ -537,8 +537,7 @@ InitExtensions(int argc, char *argv[])
for (i = 0; ExtensionModuleList[i].name != NULL; i++) {
ext = &ExtensionModuleList[i];
if (ext->initFunc != NULL &&
- (ext->disablePtr == NULL ||
- (ext->disablePtr != NULL && !*ext->disablePtr))) {
+ (ext->disablePtr == NULL || !*ext->disablePtr)) {
(ext->initFunc)();
}
}