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/*/snapshot.png
frontend/*/printer.out frontend/*/printer.out
.DS_STORE .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 card pins to SN74LS259 mapping:
slot_address[0] => latch_oe2_n slot_address[0] => latch_oe2_n
*/ */
register_output_enable_neg := (address & 1) != 0 registerOutputEnableNeg := (address & 1) != 0
if !register_output_enable_neg { if !registerOutputEnableNeg {
return c.register return c.register
} else { } else {
return 33 // Floating return 33 // Floating

View File

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