Remove a useless XXX comment.
authorThomas Heller <theller@ctypes.org>
Fri, 28 Jul 2006 19:42:40 +0000 (19:42 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 28 Jul 2006 19:42:40 +0000 (19:42 +0000)
Cosmetic changes to the code so that the #ifdef _UNICODE block
doesn't mess emacs code formatting.

Modules/_ctypes/callproc.c

index 6342ece10d745b711b4a0075e37e87c8744e7954..a57eecb65e2ab3bc6b3689b2dc4628a4b2a7c0d9 100644 (file)
@@ -851,17 +851,17 @@ GetComError(HRESULT errcode, GUID *riid, IUnknown *pIunk)
        progid = NULL;
        ProgIDFromCLSID(&guid, &progid);
 
-/* XXX Is COMError derived from WindowsError or not? */
        text = FormatError(errcode);
+       obj = Py_BuildValue(
 #ifdef _UNICODE
-       obj = Py_BuildValue("iu(uuuiu)",
+               "iu(uuuiu)",
 #else
-       obj = Py_BuildValue("is(uuuiu)",
+               "is(uuuiu)",
 #endif
-                           errcode,
-                           text,
-                           descr, source, helpfile, helpcontext,
-                           progid);
+               errcode,
+               text,
+               descr, source, helpfile, helpcontext,
+               progid);
        if (obj) {
                PyErr_SetObject(ComError, obj);
                Py_DECREF(obj);