Browse Source

Coding standards.

cl-refactor
yann300 10 years ago
committed by yann300
parent
commit
1592bb2651
  1. 4
      libdevcore/CommonJS.cpp

4
libdevcore/CommonJS.cpp

@ -63,13 +63,13 @@ bytes unpadLeft(bytes _b)
int i = 0;
if (_b.size() == 0)
return _b;
while (true)
{
if (_b.at(i) == byte(0))
i++;
else
break;
}
if (i != 0)
_b.erase(_b.begin(), _b.begin() + i);
return _b;

Loading…
Cancel
Save