I just ran the static analyser "cppcheck" over the source code of libldb-1.1.16. It said [../common/attrib_handlers.c:257] -> [../common/attrib_handlers.c:257]: (style) Same expression on both sides of '&&'. Source code is if (n2 == 0 && n2 == 0) { return 0; } I suspect if (n1 == 0 && n2 == 0) { return 0; } might be better code.
Yes, I think this is true and should be patched.
Created attachment 9521 [details] git-am fix for 4.1.next, 4.0.next. Fix cherry-picked from what went into master. Jeremy.
Re-assigned to Karolin for inclusion in 4.1.next, 4.0.next. Jeremy.
Pushed to autobuild-v4-1-test and autobuild-v4-0-test.
Pushed to v4-1-test and v4-0-test. Closing out bug reports. Thanks!