-
Notifications
You must be signed in to change notification settings - Fork 71
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
webserver.cpp:610:51: error: 'sid' may be used uninitialized in this function #62
Comments
This whole section looks like it is being removed in Dev, bit this should fix OpenZWave#62 in the mean time.
@dopry yes I had the same compiler warning when Debian packaging. Do you want to try a PR to master? |
The scene stuff is being depreciated in the OZW Dev branch and ultimately OZWCP. Just FYI |
I took a stab at it, but my branch had other build problems afterwards I
wasn't able to resolve quickly. I'll try Dev when I get a chance to work on
it again.
…On Fri, Sep 8, 2017 at 1:13 AM, Justin Hammond ***@***.***> wrote:
The scene stuff is being depreciated in the OZW Dev branch and ultimately
OZWCP. Just FYI
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXqOFDdez_e2APgNp0WVlCoy1XZwjrdks5sgMzjgaJpZM4PJw1l>
.
--
Darrel O'Pry
The Spry Group, LLC.
http://www.spry-group.com
718-355-9767 x101
|
@Fishwaldo thanks for the heads up! Do you plan to merge dev into master at some point? I have been maintaining the Debian package based on master because there are no releases (#51) - let me know if I should consider switching to dev or waiting for a release. |
When creating a release build, this error warning kills the build. I can tell that
sid
gets assigned on line 563, but the compiler isn't bright enough to see that the two if conditions are mutually inclusive.Here is the full make output.
The simple solution seems to be to init the scene id (sid) as either 0 or atoi((char *)arg1) on line 543.
The text was updated successfully, but these errors were encountered: