← Back to team overview

kicad-developers team mailing list archive

[PATCH] Clang warning removal

 

Hi,

Here is 2 patch to remove some Clang warnings.

* a struct/class mismatched tags
* /pcbnew/router/direction.h:293:19: warning: comparison of constant 8 with expression of type 'DIRECTION_45::Directions' is always false [-Wtautological-constant-out-of-range-compare]
        if( m_dir>= 8 )
            ~~~~~ ^  ~

--
Camille
 		 	   		  

Attachment: patch_Wtautological-constant-out-of-range-compare.diff
Description: Binary data

Attachment: patch_Wmismatched-tags.diff
Description: Binary data


Follow ups