[ci skip]Fixed warnings

This commit is contained in:
Wenhai Lin 2015-03-27 11:59:10 +08:00
parent 29c5da8429
commit a47cad0354
3 changed files with 11 additions and 11 deletions

View File

@ -348,7 +348,7 @@ public:
#if CC_ENABLE_SCRIPT_BINDING #if CC_ENABLE_SCRIPT_BINDING
/** Unschedule a script entry. /** Unschedule a script entry.
* @warn Don't invoke this function unless you know what you are doing. * @warning Don't invoke this function unless you know what you are doing.
* @js NA * @js NA
* @lua NA * @lua NA
*/ */

View File

@ -102,13 +102,13 @@
self.statusString = @"OK"; self.statusString = @"OK";
/*The individual values of the numeric status codes defined for HTTP/1.1 /*The individual values of the numeric status codes defined for HTTP/1.1
| 200 ; OK | "200" ; OK
| 201 ; Created | "201" ; Created
| 202 ; Accepted | "202" ; Accepted
| 203 ; Non-Authoritative Information | "203" ; Non-Authoritative Information
| 204 ; No Content | "204" ; No Content
| 205 ; Reset Content | "205" ; Reset Content
| 206 ; Partial Content | "206" ; Partial Content
*/ */
if (responseCode < 200 || responseCode >= 300) if (responseCode < 200 || responseCode >= 300)
{// something went wrong, abort the whole thing {// something went wrong, abort the whole thing

View File

@ -471,7 +471,7 @@ public:
@param a A is the body to connect. @param a A is the body to connect.
@param b B is the body to connect. @param b B is the body to connect.
@param phase Phase is the initial offset to use when deciding where the ratchet angles are. @param phase Phase is the initial offset to use when deciding where the ratchet angles are.
@param ratchet Ratchet is the distance between clicks. @param ratchet Ratchet is the distance between "clicks".
@return A object pointer. @return A object pointer.
*/ */
static PhysicsJointRatchet* construct(PhysicsBody* a, PhysicsBody* b, float phase, float ratchet); static PhysicsJointRatchet* construct(PhysicsBody* a, PhysicsBody* b, float phase, float ratchet);
@ -488,10 +488,10 @@ public:
/** Set the initial offset.*/ /** Set the initial offset.*/
void setPhase(float phase); void setPhase(float phase);
/** Get the distance between “clicks”.*/ /** Get the distance between "clicks".*/
float getRatchet() const; float getRatchet() const;
/** Set the distance between “clicks”.*/ /** Set the distance between "clicks".*/
void setRatchet(float ratchet); void setRatchet(float ratchet);
virtual bool createConstraints() override; virtual bool createConstraints() override;