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

Update WMessageResources.C #94

Merged
merged 1 commit into from
Apr 14, 2017
Merged

Update WMessageResources.C #94

merged 1 commit into from
Apr 14, 2017

Conversation

bryonglodencissp
Copy link
Contributor

@bryonglodencissp bryonglodencissp commented Aug 1, 2016

It's always good to initialize integer variables, at least to 0, because if you try to retrieve its value before it gets assigned any actual (non-garbage) value, then it results in undefined behavior, e.g. when the token WT_NO_SPIRIT is defined.

Found by https://github.com/bryongloden/cppcheck

It's always good to initialize integer variables, at least to 0, because if you try to retrieve the variable before it gets assigned any actual (non-garbage) value, then it results in undefined behavior.
@emweb emweb merged commit f4ada85 into emweb:master Apr 14, 2017
@emweb
Copy link
Collaborator

emweb commented Apr 14, 2017

Thanks

emweb pushed a commit that referenced this pull request May 4, 2017
 - Merges from master:
   - Issue #5694: respond to poll immediately if we still have unacked JavaScript
   - Added missing users() definition in auth tutorial
   - override dropEvent in WStandardItemModel
   - add 'session-thread-pool' wt_config.xml option for #5308
   - Added OpenIDConnect feature
   - WAxisSliderWidget: Set the clip path when drawing the series (issue #5668)
   - #5663: don't cache senderId for JSignals, change object name after JSignals have been removed
   - #5658: allow fields containing 'from' in sql select statements
   - Issue #5648: document that WServer::stop() stops the underlying WIOService
   - Fixed setObjectName() on WAbstractItemView after construction
   - WPopupWidget/WPopupMenu: Call bind/unbind function with the right object
   - Json move semantics and initializer list syntax
   - Merge pull request #94 from bryongloden/patch-1
     Update WMessageResources.C
 - Wt 4 specific:
   - Set version back to 4.0.0
   - Fixed comments that were changed by overzealous script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants