forked from Ivasoft/DSView
fix minor issues
This commit is contained in:
@@ -40,8 +40,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
char decoders_path[256];
|
||||
|
||||
void usage()
|
||||
{
|
||||
fprintf(stdout,
|
||||
@@ -122,11 +120,6 @@ int main(int argc, char *argv[])
|
||||
do {
|
||||
|
||||
#ifdef ENABLE_DECODE
|
||||
QDir dir(QCoreApplication::applicationDirPath());
|
||||
assert(dir.cd("decoders"));
|
||||
std::string str = dir.absolutePath().toStdString() + "/";
|
||||
strcpy(decoders_path, str.c_str());
|
||||
|
||||
// Initialise libsigrokdecode
|
||||
if (srd_init(NULL) != SRD_OK) {
|
||||
qDebug() << "ERROR: libsigrokdecode init failed.";
|
||||
|
||||
Reference in New Issue
Block a user