Skip to content

Commit 7761aa0

Browse files
committed
feat: Disabled warnings in example files
1 parent c4c77e2 commit 7761aa0

20 files changed

+23
-0
lines changed

Examples/ServiceExamples/Scripts/ExampleAssistantV1.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using FullSerializer;
1920
using IBM.Watson.DeveloperCloud.Connection;

Examples/ServiceExamples/Scripts/ExampleAssistantV2.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using System.Collections;
1920
using System.Collections.Generic;

Examples/ServiceExamples/Scripts/ExampleCallback.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using IBM.Watson.DeveloperCloud.Connection;
1920
using IBM.Watson.DeveloperCloud.Logging;

Examples/ServiceExamples/Scripts/ExampleCompareComplyV1.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using FullSerializer;
1920
using IBM.Watson.DeveloperCloud.Connection;

Examples/ServiceExamples/Scripts/ExampleConversation.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
18+
#pragma warning disable 0618
1719

1820
using UnityEngine;
1921
using IBM.Watson.DeveloperCloud.Services.Conversation.v1;

Examples/ServiceExamples/Scripts/ExampleCustomHeaders.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using IBM.Watson.DeveloperCloud.Connection;
1920
using IBM.Watson.DeveloperCloud.DataTypes;

Examples/ServiceExamples/Scripts/ExampleDiscovery.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
18+
1719
using IBM.Watson.DeveloperCloud.Connection;
1820
using IBM.Watson.DeveloperCloud.Logging;
1921
using IBM.Watson.DeveloperCloud.Services.Discovery.v1;

Examples/ServiceExamples/Scripts/ExampleGetToken.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using IBM.Watson.DeveloperCloud.Connection;
1920
using IBM.Watson.DeveloperCloud.Logging;

Examples/ServiceExamples/Scripts/ExampleLanguageTranslatorV3.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using UnityEngine;
1920
using IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v3;

Examples/ServiceExamples/Scripts/ExampleNaturalLanguageClassifier.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
// Uncomment to train a new classifier
1920
#define TRAIN_CLASSIFIER

Examples/ServiceExamples/Scripts/ExampleNaturalLanguageUnderstanding.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using FullSerializer;
1920
using IBM.Watson.DeveloperCloud.Connection;

Examples/ServiceExamples/Scripts/ExamplePersonalityInsights.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using UnityEngine;
1920
using IBM.Watson.DeveloperCloud.Services.PersonalityInsights.v3;

Examples/ServiceExamples/Scripts/ExampleSpeechToText.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using UnityEngine;
1920
using IBM.Watson.DeveloperCloud.Services.SpeechToText.v1;

Examples/ServiceExamples/Scripts/ExampleStreaming.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using UnityEngine;
1920
using System.Collections;

Examples/ServiceExamples/Scripts/ExampleStreamingSplitSamples.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using UnityEngine;
1920
using System.Collections;

Examples/ServiceExamples/Scripts/ExampleTextToSpeech.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using UnityEngine;
1920
using IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1;

Examples/ServiceExamples/Scripts/ExampleToneAnalyzer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
1718

1819
using UnityEngine;
1920
using IBM.Watson.DeveloperCloud.Services.ToneAnalyzer.v3;

Examples/ServiceExamples/Scripts/ExampleVisualRecognition.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0649
18+
1719
// Uncomment to train a new classifier
1820
//#define TRAIN_CLASSIFIER
1921
// Uncommnent to delete the trained classifier

Scripts/Services/SpeechToText/v1/SpeechToText.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0618
1718

1819
#define ENABLE_DEBUGGING
1920

Scripts/UnitTests/TestConversation.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*
1616
*/
17+
#pragma warning disable 0618
1718

1819
using System.Collections;
1920
using System.Collections.Generic;

0 commit comments

Comments
 (0)