Skip to content
Permalink
Browse files

Mod/Complete: suppress a minor warning

The warning was dedicated to using of char as an array index.
  • Loading branch information...
Fat-Zer authored and wwmayer committed Aug 7, 2015
1 parent 2d6e82f commit 4fcbff9d34eff5c9716193e3c4370df75f9d5a78
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Mod/Complete/Gui/AppCompleteGui.cpp
@@ -64,7 +64,7 @@ void CompleteGuiExport initCompleteGui()
// try to load dependent modules, currently not (AssemblyGui, CamGui)
char *modules[] = {"PartGui", "MeshGui", "MeshPartGui", "PointsGui", "DrawingGui", "RaytracingGui", "SketcherGui", "PartDesignGui", "ImageGui", "TestGui"};
char nModules = sizeof(modules) / sizeof(char*);
for (char i = 0; i < nModules; i++) {
for (size_t i = 0; i < nModules; i++) {
try {
Base::Interpreter().loadModule(modules[i]);
}

0 comments on commit 4fcbff9

Please sign in to comment.
You can’t perform that action at this time.