raphaelts3 / wyd2encdec

Omit comparison with boolean constant SCC-S1002
Anti-pattern
Minor
2 years ago2 years old
should omit comparison to bool constant, can be simplified to !readKeys(os.Args[1])
115		fmt.Println("Not enough arguments")
116		os.Exit(-1)
117	}
118	if readKeys(os.Args[1]) == false {119		os.Exit(-2)
120	}
121	encryptedFileRaw = readDataFile(os.Args[3], &encryptedPackets, &sizeEncryptedFile)