notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c2e3bd4
)
drc: init vars that gcc thinks can be used uninitialized, just in case
author
notaz
<notasas@gmail.com>
Tue, 7 Jun 2011 09:36:41 +0000
(12:36 +0300)
committer
notaz
<notasas@gmail.com>
Tue, 7 Jun 2011 09:48:07 +0000
(12:48 +0300)
libpcsxcore/new_dynarec/new_dynarec.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/new_dynarec/new_dynarec.c
b/libpcsxcore/new_dynarec/new_dynarec.c
index
553d5bb
..
032d698
100644
(file)
--- a/
libpcsxcore/new_dynarec/new_dynarec.c
+++ b/
libpcsxcore/new_dynarec/new_dynarec.c
@@
-4114,7
+4114,7
@@
static void loop_preload(signed char pre[],signed char entry[])
void address_generation(int i,struct regstat *i_regs,signed char entry[])
{
if(itype[i]==LOAD||itype[i]==LOADLR||itype[i]==STORE||itype[i]==STORELR||itype[i]==C1LS||itype[i]==C2LS) {
void address_generation(int i,struct regstat *i_regs,signed char entry[])
{
if(itype[i]==LOAD||itype[i]==LOADLR||itype[i]==STORE||itype[i]==STORELR||itype[i]==C1LS||itype[i]==C2LS) {
- int ra;
+ int ra
=-1
;
int agr=AGEN1+(i&1);
int mgr=MGEN1+(i&1);
if(itype[i]==LOAD) {
int agr=AGEN1+(i&1);
int mgr=MGEN1+(i&1);
if(itype[i]==LOAD) {
@@
-4932,7
+4932,7
@@
void do_ccstub(int n)
emit_loadreg(rs2[i],s2l);
#endif
int hr=0;
emit_loadreg(rs2[i],s2l);
#endif
int hr=0;
- int addr
,alt,ntaddr
;
+ int addr
=-1,alt=-1,ntaddr=-1
;
while(hr<HOST_REGS)
{
if(hr!=EXCLUDE_REG && hr!=HOST_CCREG &&
while(hr<HOST_REGS)
{
if(hr!=EXCLUDE_REG && hr!=HOST_CCREG &&
@@
-8624,7
+8624,7
@@
int new_recompile_block(int addr)
current.wasconst=0;
int ds=0;
int cc=0;
current.wasconst=0;
int ds=0;
int cc=0;
- int hr;
+ int hr
=-1
;
#ifndef FORCE32
provisional_32bit();
#ifndef FORCE32
provisional_32bit();