chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f3e298
)
fix uninitialised reference
author
ian
<ian>
Sun, 4 May 2008 18:24:55 +0000
(18:24 +0000)
committer
ian
<ian>
Sun, 4 May 2008 18:24:55 +0000
(18:24 +0000)
hostside/movpos.c
patch
|
blob
|
history
diff --git
a/hostside/movpos.c
b/hostside/movpos.c
index 4079f5bbb454e671c7df65307c110121730ce149..94f4eeea0852f33b4a6180397cde9c0b1e5f8c2b 100644
(file)
--- a/
hostside/movpos.c
+++ b/
hostside/movpos.c
@@
-626,7
+626,7
@@
ErrorCode movpos_findcomb_bysegs(Segment *back, Segment *move, Segment *fwd,
bestcomb= tcomb;
bestchanges= tchanges;
}
- if (
*
chosen_r) *chosen_r= bestcomb;
+ if (chosen_r) *chosen_r= bestcomb;
return
bestchanges==INT_MAX ? EC_MovFeatRouteNotFound :
bestchanges==INT_MAX-1 ? EC_MovFeatKindsCombination :