Skip to content

pagemanager: mostly map out structs

Codacy Production / Codacy Static Code Analysis required action May 3, 2024 in 0s

8 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 8
           

Clones added
============
- game/overlord/jak3/stream.cpp  1
- game/overlord/jak3/srpc.cpp  1
- game/overlord/jak3/start.cpp  2
         

See the complete overview on Codacy

Annotations

Check warning on line 15 in game/overlord/jak3/pagemanager.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

game/overlord/jak3/pagemanager.cpp#L15

Member variable 'CPage::m_pPageList' is not initialized in the constructor.

Check warning on line 17 in game/overlord/jak3/pagemanager.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

game/overlord/jak3/pagemanager.cpp#L17

Variable 'm_uPageBit' is assigned in constructor body. Consider performing initialization in initialization list.

Check warning on line 18 in game/overlord/jak3/pagemanager.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

game/overlord/jak3/pagemanager.cpp#L18

Variable 'm_nPageState' is assigned in constructor body. Consider performing initialization in initialization list.

Check notice on line 93 in game/overlord/jak3/pagemanager.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

game/overlord/jak3/pagemanager.cpp#L93

The scope of the variable 'nInputPageLengthLeft' can be reduced.

Check notice on line 107 in game/overlord/jak3/pagemanager.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

game/overlord/jak3/pagemanager.cpp#L107

Variable 'nNumBytes' is assigned a value that is never used.

Check warning on line 120 in game/overlord/jak3/pagemanager.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

game/overlord/jak3/pagemanager.cpp#L120

Member variable 'CCache::m_nEventFlag' is not initialized in the constructor.

Check warning on line 122 in game/overlord/jak3/pagemanager.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

game/overlord/jak3/pagemanager.cpp#L122

Variable 'm_uAllocatedPageMap' is assigned in constructor body. Consider performing initialization in initialization list.

Check warning on line 123 in game/overlord/jak3/pagemanager.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

game/overlord/jak3/pagemanager.cpp#L123

Variable 'm_Unk' is assigned in constructor body. Consider performing initialization in initialization list.