Removes Static Analyzer Warning #70

Merged
merged 1 commit into from Dec 8, 2012

Conversation

Projects
None yet
2 participants
@rsobik
Contributor

rsobik commented Nov 8, 2012

The function dispatch_source_create can return NULL and clang's static analyzer complains about this.

The code is moved inside a if-branch to execute it only when deleteTimer is not NULL.

Removes Static Analyzer Warning
The function dispatch_source_create can return NULL and clang's static analyzer complains about this.

The code is moved inside a if-branch to execute it only when deleteTimer is not NULL.

robbiehanson added a commit that referenced this pull request Dec 8, 2012

Merge pull request #70 from rsobik/static_analyzer_fix
Removes Static Analyzer Warning

@robbiehanson robbiehanson merged commit a494160 into CocoaLumberjack:master Dec 8, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment