hodgesse1 / rfortran

Automatically exported from code.google.com/p/rfortran
0 stars 0 forks source link

Un-initialized variable FLAG used #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
*** What steps will reproduce the problem?

1. Compiling RFortran (any configuration) with PROPER compile-time checks
enabled

*** What is the expected output?

Compiled/built library without warnings indicating a problem

*** What do you see instead?

Warning on line 282:

RFortran\src\core\RFortran_Rgraphicsdevice.F90(282) : Warning: Variable
FILE is used before its value has been defined
    ok=RopenGraphicsDevice(cmdin=addcmd(cmd)); if (ok/=0) call
message($error,"Cannot open pdf file:"//TRIM(file))

*** What version of RFortran are you using?

1.0.0 (latest from SVN at 5 Aug 2009 AD)

*** Please provide any additional information below.

Variable "file" is not initialized in this branch. It is in a deprecated
routine, still should be fixed.

Original issue reported on code.google.com by dmitri.k...@gmail.com on 6 Aug 2009 at 5:57

GoogleCodeExporter commented 8 years ago
It's not a problem as variable is set properly on line 277

Original comment by mark.th...@gmail.com on 19 Feb 2010 at 5:37