Rename variable named "tmp"
Rename variable named "tmp"

Please don't name variables "tmp" unless it's a temp file, but even then at least call it "tempfile"

maxmind/libmaxminddb,maxmind/libmaxminddb,maxmind/libmaxminddb