updated code so it does what other code thinks it does
diff --git a/aos/externals/WPILib/WPILib/ErrorBase.cpp b/aos/externals/WPILib/WPILib/ErrorBase.cpp
index 838c0ee..25f34ef 100644
--- a/aos/externals/WPILib/WPILib/ErrorBase.cpp
+++ b/aos/externals/WPILib/WPILib/ErrorBase.cpp
@@ -176,8 +176,10 @@
 void ErrorBase::SetGlobalError(Error::Code code, const char *contextMessage,
 		const char* filename, const char* function, UINT32 lineNumber)
 {
-	//  Set the current error information for this object.
-	_globalError.Set(code, contextMessage, filename, function, lineNumber, NULL);
+  if (code != 0) {
+	  //  Set the current error information for this object.
+	  _globalError.Set(code, contextMessage, filename, function, lineNumber, NULL);
+  }
 }
 
 /**