aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMLogger+ASL.m
diff options
context:
space:
mode:
authorGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-07-29 15:07:07 +0000
committerGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-07-29 15:07:07 +0000
commit43982f07ba6a0a9839e32e774855c9d2068e9d5e (patch)
tree238f1a607b086c036be1f05cc760dd332f70ecfb /Foundation/GTMLogger+ASL.m
parent4963c8a9d57501b5ffb0fe52fbfe60cd71b3b916 (diff)
fix a bug w/ method check support.
mark part of the logger+asl code as not feasible for testing. work around a unittesting marco catch w/ gc and __weak.
Diffstat (limited to 'Foundation/GTMLogger+ASL.m')
-rw-r--r--Foundation/GTMLogger+ASL.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Foundation/GTMLogger+ASL.m b/Foundation/GTMLogger+ASL.m
index 1a49406..2213df6 100644
--- a/Foundation/GTMLogger+ASL.m
+++ b/Foundation/GTMLogger+ASL.m
@@ -93,8 +93,10 @@
if ((self = [super init])) {
client_ = asl_open(NULL, NULL, 0);
if (client_ == nil) {
+ // COV_NF_START - no real way to test this
[self release];
return nil;
+ // COV_NF_END
}
}
return self;