Skip to content

Commit

Permalink
refs #36: Fix white-space
Browse files Browse the repository at this point in the history
  • Loading branch information
overtaker committed Mar 20, 2021
1 parent 3fb6e38 commit 49fa7f8
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions ExternData/Resources/C-Sources/ED_logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
#include "ModelicaUtilities.h"

enum {
ED_LOG_NONE = 1,
ED_LOG_NONE = 1,
ED_LOG_DEBUG,
ED_LOG_WARNING,
ED_LOG_ERROR
ED_LOG_WARNING,
ED_LOG_ERROR
};

typedef void (*ED_LOGGING_FUNC)(const char *, ...);
Expand All @@ -42,24 +42,24 @@ static void ED_LogNone(const char *string, ...) {
}

static void ED_LogDebug(const char *string, ...) {
va_list args;
va_start(args, string);
ModelicaVFormatMessage(string, args);
va_end(args);
va_list args;
va_start(args, string);
ModelicaVFormatMessage(string, args);
va_end(args);
}

static void ED_LogWarning(const char *string, ...) {
va_list args;
va_start(args, string);
ModelicaVFormatWarning(string, args);
va_end(args);
va_list args;
va_start(args, string);
ModelicaVFormatWarning(string, args);
va_end(args);
}

static void ED_LogError(const char *string, ...) {
va_list args;
va_start(args, string);
ModelicaVFormatError(string, args);
va_end(args);
va_list args;
va_start(args, string);
ModelicaVFormatError(string, args);
va_end(args);
}

#endif

0 comments on commit 49fa7f8

Please sign in to comment.