Skip to content

Commit

Permalink
Fixing issues reported from cppcheck.
Browse files Browse the repository at this point in the history
  • Loading branch information
slav-at-attachix committed Oct 9, 2017
1 parent 4abc0a7 commit f96b4d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sming/SmingCore/Network/Http/HttpRequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ HttpRequest* HttpRequest::setBody(const String& body) {
if(written < body.length()) {
debugf("HttpRequest::setBody: Unable to store the complete body");
}
stream = (ReadWriteStream*)memory;
stream = memory;
return this;
}

Expand Down
4 changes: 2 additions & 2 deletions Sming/SmingCore/Network/Http/Stream/HttpMultipartStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

#include "HttpMultipartStream.h"

HttpMultipartStream::HttpMultipartStream(HttpPartProducerDelegate delegate)
HttpMultipartStream::HttpMultipartStream(HttpPartProducerDelegate delegate): producer(delegate)
{
this->producer = delegate;

}


Expand Down

0 comments on commit f96b4d0

Please sign in to comment.