Skip to content

Conversation

@jcfr
Copy link
Member

@jcfr jcfr commented Sep 2, 2016

This commit removes method ReadJsonParameter that became obsolete
after ba54510 (ENH: Allow CLI to deserialize without the required arguments)

It will fix warning like this one:

/path/to/SlicerExecutionModel/ModuleDescriptionParser/JsonSerializationUtilities.h:43:6: warning: ‘void {anonymous}::ReadJsonParameter(const Json::Value&, std::__cxx11::string&)’ defined but not used [-Wunused-function]
 void ReadJsonParameter( const Json::Value & parameter, std::string & value )
      ^

This commit removes method ReadJsonParameter that became obsolete
after ba54510 (ENH: Allow CLI to deserialize without the required arguments)

It will fix warning like this one:

```
/path/to/SlicerExecutionModel/ModuleDescriptionParser/JsonSerializationUtilities.h:43:6: warning: ‘void {anonymous}::ReadJsonParameter(const Json::Value&, std::__cxx11::string&)’ defined but not used [-Wunused-function]
 void ReadJsonParameter( const Json::Value & parameter, std::string & value )
      ^
```
@jcfr
Copy link
Member Author

jcfr commented Sep 2, 2016

Cc: @vovythevov

@johan-andruejol johan-andruejol merged commit 9a74e80 into master Sep 2, 2016
@jcfr jcfr deleted the remove-unused-methods branch September 2, 2016 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants