Fixes some 'code with no effect' detected by cppcheck, no Issue

This commit is contained in:
Ingo
2014-03-18 13:35:31 +01:00
parent 35d0fe5ee6
commit 36624c9358

View File

@@ -248,9 +248,9 @@ public:
} }
void setColor(char r, char g, char b) { void setColor(char r, char g, char b) {
r = double(r)/255.; this->r = double(r)/255.;
g = double(g)/255.; this->g = double(g)/255.;
b = double(b)/255.; this->b = double(b)/255.;
} }
double getR() { return r; } double getR() { return r; }