Using sonarqube

This commit is contained in:
Ivan Izaguirre 2023-09-15 17:39:21 +02:00
parent fa17d4baa4
commit eb34906fea
3 changed files with 6 additions and 3 deletions

3
.gitignore vendored
View File

@ -12,3 +12,6 @@ frontend/*/snapshot.gif
frontend/*/snapshot.png
frontend/*/printer.out
.DS_STORE
.scannerwork
coverage.out
test.out

View File

@ -99,8 +99,8 @@ func (c *CardDisk2Sequencer) assign(a *Apple2, slot int) {
Slot card pins to SN74LS259 mapping:
slot_address[0] => latch_oe2_n
*/
register_output_enable_neg := (address & 1) != 0
if !register_output_enable_neg {
registerOutputEnableNeg := (address & 1) != 0
if !registerOutputEnableNeg {
return c.register
} else {
return 33 // Floating

View File

@ -22,7 +22,7 @@ func (p *protocolHttp) Open(urlParsed *url.URL) {
}
func (p *protocolHttp) Close() {
// nothing to do
}
func (p *protocolHttp) ReadAll() ([]uint8, ErrorCode) {