Skip to content

Commit 3fa0c8e

Browse files
author
camilo
committed
deepsource check
1 parent 9eac523 commit 3fa0c8e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

qfis.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ static float qFIS_SMF( const qFIS_IO_Base_t * const in,
10391039
const float *p,
10401040
const size_t n )
10411041
{
1042-
float a, b, tmp, y;
1042+
float a, b, tmp, y = 0.0F;
10431043
float x = in[ 0 ].value;
10441044
(void)n;
10451045

@@ -1060,7 +1060,7 @@ static float qFIS_SMF( const qFIS_IO_Base_t * const in,
10601060
y = ( 1.0F - ( 2.0F*tmp*tmp ) );
10611061
}
10621062
else {
1063-
y = 0.0F;
1063+
/* Nothing to do here */
10641064
}
10651065

10661066
return y;
@@ -1094,7 +1094,7 @@ static float qFIS_ZMF( const qFIS_IO_Base_t * const in,
10941094
const float *p,
10951095
const size_t n )
10961096
{
1097-
float a, b, tmp, y;
1097+
float a, b, tmp, y = 0.0F;
10981098
float x = in[ 0 ].value;
10991099
(void)n;
11001100

@@ -1115,7 +1115,7 @@ static float qFIS_ZMF( const qFIS_IO_Base_t * const in,
11151115
y = 2.0F*tmp*tmp;
11161116
}
11171117
else {
1118-
y = 0.0F;
1118+
/* Nothing to do here */
11191119
}
11201120

11211121
return y;

0 commit comments

Comments
 (0)