Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing assignment for ServerType [DNET470] #461

Closed
firebird-automations opened this issue Nov 20, 2012 · 1 comment
Closed

Missing assignment for ServerType [DNET470] #461

firebird-automations opened this issue Nov 20, 2012 · 1 comment

Comments

@firebird-automations
Copy link

Submitted by: @cincuranet

if (key == "server type")
{
FbServerType serverType = default(FbServerType);
try
{
Enum.Parse(typeof(FbServerType), values[1], true);
}
catch
{
throw new NotSupportedException("Not supported 'server type'.");
}
this.options[key] = serverType;
}
else
{
this.options[key] = values[1];
}

You have omitted the variable.
serverType = (FbServerType)Enum.Parse(typeof(FbServerType), values[1], true);

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: vNext [ 10490 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants