Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
nauty
nauty-uninitialized.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nauty-uninitialized.diff of Package nauty
From: Jan Engelhardt <jengelh@inai.de> Date: 2017-09-14 22:15:05.095341778 +0200 patch some real bad code [ 19s] traces.c: In function 'refine_tr_refine': [ 19s] traces.c:5316:12: warning: 'TraceInd' is used uninitialized in this function [-Wuninitialized] [ 19s] return TraceInd; [ 40s] checks6.c: In function 'seemsbad': [ 40s] checks6.c:124:1: warning: control reaches end of non-void function [-Wreturn-type] [ 40s] } --- checks6.c | 1 + traces.c | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) Index: nauty26r7/checks6.c =================================================================== --- nauty26r7.orig/checks6.c +++ nauty26r7/checks6.c @@ -121,6 +121,7 @@ seemsbad(char *s) else return FALSE; } + return FALSE; } /***********************************************************************/ Index: nauty26r7/traces.c =================================================================== --- nauty26r7.orig/traces.c +++ nauty26r7/traces.c @@ -253,7 +253,7 @@ static int traces_refine_sametrace(Cand struct TracesVars*, struct TracesInfo*); static int traces_refine_refine(sparsegraph*, Candidate*, int, Partition*, struct TracesVars*, struct TracesInfo*); -static int refine_tr_refine(Candidate*, int, Partition*, +static void refine_tr_refine(Candidate*, int, Partition*, struct TracesVars*, struct TracesInfo*); static int given_gens(sparsegraph*, permnode*, int*, boolean); static void quickSort(int*, int); @@ -4717,7 +4717,7 @@ void refine_tr(sparsegraph *sg, int *lab #endif } -int refine_tr_refine(Candidate *Cand, +void refine_tr_refine(Candidate *Cand, int n, Partition *Part, struct TracesVars* tv, @@ -5313,7 +5313,6 @@ int refine_tr_refine(Candidate *Cand, } } Part->code = Cand->code = CLEANUP(longcode); - return TraceInd; } void Allocate_Traces_Structures(int n) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor