Changeset [2ddd86540aeca883d99a6003970ef7cfbb2b4ec2] by Joseph Heenan

August 6th, 2013 @ 02:28 PM

Fix an analyser warning in the latest llvm

Error is: ASIHTTPRequest.m:4571:44: Division by zero

I think this may be a false warning, or llvm is assuming that "[bandwidthUsageTracker addObject:...];" has failed for some reason, but it does no harm to double check that we're not going to divide by zero.
https://github.com/pokeb/asi-http-request/commit/2ddd86540aeca883d9...

Committed by Joseph Heenan

  • M Classes/ASIHTTPRequest.m
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone