Skip to content

Commit b6b6691

Browse files
committed
Sonarqube: Remove this useless shift
1 parent 1ecd1c0 commit b6b6691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/MarshalModuleBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ private int readInt() {
512512
int ch2 = readByte() & 0xFF;
513513
int ch3 = readByte() & 0xFF;
514514
int ch4 = readByte() & 0xFF;
515-
return ((ch1 << 24) + (ch2 << 16) + (ch3 << 8) + (ch4 << 0));
515+
return ((ch1 << 24) + (ch2 << 16) + (ch3 << 8) + ch4);
516516
}
517517

518518
private long read_long64() { // cpython calls this r_long64

0 commit comments

Comments
 (0)