Skip to content

Commit

Permalink
clion cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
wwiv committed Jun 11, 2017
1 parent 37314d9 commit 6d24cae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Expand Up @@ -206,3 +206,9 @@ CMakeCache.txt
Makefile
*.a
deps/cl342/*.o

# CLion files
.idea/
*.cbp


7 changes: 2 additions & 5 deletions bbs/dropfile.cpp
Expand Up @@ -17,6 +17,7 @@
/* */
/**************************************************************************/
#include "bbs/dropfile.h"

#include <algorithm>
#include <memory>
#include <sstream>
Expand All @@ -27,12 +28,8 @@
#include "bbs/bbs.h"
#include "bbs/instmsg.h"
#include "bbs/vars.h"
#include "bbs/remote_io.h"
#include "bbs/sysoplog.h"
#include "bbs/utility.h"
#include "bbs/wconstants.h"
#include "sdk/status.h"
#include "core/strings.h"
#include "core/textfile.h"
#include "core/version.h"

Expand Down Expand Up @@ -131,7 +128,7 @@ static void GetNamePartForDropFile(bool lastName, char *name) {
}

static long GetMinutesRemainingForDropFile() {
long time_left = std::max<long>((static_cast<long>(nsl() / 60)) - 1L, 0);
long time_left = std::max<long>((nsl() / 60) - 1L, 0);
bool using_modem = a()->using_modem != 0;
if (!using_modem) {
// When we generate a dropfile from the WFC, give it a suitable amount
Expand Down
4 changes: 0 additions & 4 deletions bbs/email.cpp
Expand Up @@ -52,10 +52,6 @@
#define NUM_ATTEMPTS_TO_OPEN_EMAIL 5
#define DELAY_BETWEEN_EMAIL_ATTEMPTS 9

#define GAT_NUMBER_ELEMENTS 2048
#define GAT_SECTION_SIZE 4096
#define MSG_BLOCK_SIZE 512

using std::string;
using std::stringstream;
using std::unique_ptr;
Expand Down

0 comments on commit 6d24cae

Please sign in to comment.