Skip to content

Commit ff47eaf

Browse files
committed
clean
1 parent 4313d87 commit ff47eaf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

paddle/fluid/framework/program_desc.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ void ProgramDesc::Flush() {
3232
for (auto &block : blocks_) {
3333
block->Flush();
3434
}
35-
// If not loaded, use current code version.
36-
if (desc_.version().version() < 0) {
37-
desc_.mutable_version()->set_version(kCurProgramVersion);
38-
}
3935
}
4036

4137
proto::ProgramDesc *ProgramDesc::Proto() {

0 commit comments

Comments
 (0)