mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-03 05:13:44 +00:00
Initialize variable to silence the warning:
libavutil/pca.c:72: warning: ‘k’ may be used uninitialized in this function Originally committed as revision 15760 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
cb377ec55e
commit
ecad9872fb
@ -67,7 +67,8 @@ void ff_pca_add(PCA *pca, double *v){
|
|||||||
}
|
}
|
||||||
|
|
||||||
int ff_pca(PCA *pca, double *eigenvector, double *eigenvalue){
|
int ff_pca(PCA *pca, double *eigenvector, double *eigenvalue){
|
||||||
int i, j, k, pass;
|
int i, j, pass;
|
||||||
|
int k=0;
|
||||||
const int n= pca->n;
|
const int n= pca->n;
|
||||||
double z[n];
|
double z[n];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user