[Templates] Replace warning ignoring with null setting
This commit is contained in:
parent
3b7350ff4b
commit
0dc47c7b91
1 changed files with 2 additions and 4 deletions
|
@ -6,10 +6,8 @@ namespace GtkNamespace
|
||||||
{
|
{
|
||||||
class MainWindow : Window
|
class MainWindow : Window
|
||||||
{
|
{
|
||||||
#pragma warning disable 0649
|
[UI] private Label _label1 = null;
|
||||||
[UI] private Label _label1;
|
[UI] private Button _button1 = null;
|
||||||
[UI] private Button _button1;
|
|
||||||
#pragma warning restore 0649
|
|
||||||
|
|
||||||
private int _counter;
|
private int _counter;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue