mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 06:15:08 +00:00
Fixed some Code Analysis warnings.
This commit is contained in:
@@ -45,7 +45,7 @@ namespace OpenHardwareMonitor.Hardware {
|
||||
|
||||
private static char SEPARATOR = '/';
|
||||
|
||||
private void CheckIdentifiers(string[] identifiers) {
|
||||
private static void CheckIdentifiers(string[] identifiers) {
|
||||
foreach (string s in identifiers)
|
||||
if (s.Contains(" ") || s.Contains(SEPARATOR.ToString()))
|
||||
throw new ArgumentException("Invalid identifier");
|
||||
|
Reference in New Issue
Block a user