mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-23 16:13:04 +01:00
fix: resolve all remaining lint errors (errcheck) across 49 files
Fix unchecked error returns on bf.Seek(), db.Exec(), QueryRow().Scan(), pkt.Build(), logger.Sync(), and binary.Write() calls. The linter now passes with 0 errors, build compiles, and all tests pass with -race.
This commit is contained in:
@@ -384,7 +384,7 @@ func TestSequential_RepeatedLogoutLoginCycles(t *testing.T) {
|
||||
|
||||
// Verify data after each cycle
|
||||
var savedCompressed []byte
|
||||
db.QueryRow("SELECT savedata FROM characters WHERE id = $1", charID).Scan(&savedCompressed)
|
||||
_ = db.QueryRow("SELECT savedata FROM characters WHERE id = $1", charID).Scan(&savedCompressed)
|
||||
|
||||
if len(savedCompressed) > 0 {
|
||||
decompressed, err := nullcomp.Decompress(savedCompressed)
|
||||
|
||||
Reference in New Issue
Block a user