Useless line

This commit is contained in:
guillaumederex 2021-01-23 12:09:37 +01:00 committed by Felix Queißner
parent 2ad82cadb4
commit 97bf199a89

View file

@ -215,10 +215,10 @@ fn parseInt(comptime T: type, str: []const u8) !T {
'p', 'P' => 5, //peta
else => 0
};
if (pow != 0)
if (pow != 0) {
buf.len -= 1;
if (pow != 0) {
if (comptime std.math.maxInt(T) < 1024)
return error.Overflow;
var base: T = if (base1024) 1024 else 1000;